aboutsummaryrefslogtreecommitdiff
path: root/lib/md4.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/md4.c')
-rw-r--r--lib/md4.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/md4.c b/lib/md4.c
index 828ce6277..cf6c36023 100644
--- a/lib/md4.c
+++ b/lib/md4.c
@@ -27,6 +27,7 @@
#ifdef USE_NSS
#include "curl_md4.h"
+#include "warnless.h"
typedef unsigned int UINT4;
@@ -275,7 +276,7 @@ void Curl_md4it(unsigned char *output, const unsigned char *input, size_t len)
{
MD4_CTX ctx;
MD4Init(&ctx);
- MD4Update(&ctx, input, (unsigned int)len);
+ MD4Update(&ctx, input, curlx_uztoui(len));
MD4Final(output, &ctx);
}
#endif /* USE_NSS */