summaryrefslogtreecommitdiff
path: root/mysys_ssl
diff options
context:
space:
mode:
Diffstat (limited to 'mysys_ssl')
-rw-r--r--mysys_ssl/my_sha.ic2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys_ssl/my_sha.ic b/mysys_ssl/my_sha.ic
index a7ec8bad593..361a4d851e7 100644
--- a/mysys_ssl/my_sha.ic
+++ b/mysys_ssl/my_sha.ic
@@ -134,7 +134,7 @@ void my_sha(uchar *digest, const char *buf, size_t len)
CONTEXT context;
sha_init_fast(&context);
- sha_input(&context, (const uchar *)buf, len);
+ sha_input(&context, (const uchar *)buf, (unsigned int)len);
sha_result(&context, digest);
}