diff options
author | Yang Tse <yangsita@gmail.com> | 2012-03-20 18:28:24 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-03-20 18:28:24 +0100 |
commit | c6825b7a6b5e8798bc861b3d280430e8149e7298 (patch) | |
tree | 7647999b7351ab4330f2218622fcfbc1469cb975 /lib/md4.c | |
parent | e6a89cb6c4f0ed51a41425cf78a56394f397c5e5 (diff) | |
download | curl-c6825b7a6b5e8798bc861b3d280430e8149e7298.tar.gz |
fix several compiler warnings
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 */ |