diff options
Diffstat (limited to 'lib/md4.c')
-rw-r--r-- | lib/md4.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 */ |