aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_ntlm_core.c
diff options
context:
space:
mode:
authorNick Zitzmann <nickzman@gmail.com>2013-02-16 14:21:09 -0700
committerNick Zitzmann <nickzman@gmail.com>2013-02-16 14:21:09 -0700
commit12ea5beffc2fb0db09db0ac291f362c1f81b5f03 (patch)
tree0268d974c15f369e08bad88f0681e0b8692e8e2f /lib/curl_ntlm_core.c
parentd4703fa428606dc1bea590ec571eb37a19927512 (diff)
ntlm_core: fix compiler warning when building with clang
Fixed a 64-to-32 compiler warning raised when building with clang and the --with-darwinssl option.
Diffstat (limited to 'lib/curl_ntlm_core.c')
-rw-r--r--lib/curl_ntlm_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/curl_ntlm_core.c b/lib/curl_ntlm_core.c
index 8f3c00d64..79aeb08b3 100644
--- a/lib/curl_ntlm_core.c
+++ b/lib/curl_ntlm_core.c
@@ -421,7 +421,7 @@ CURLcode Curl_ntlm_core_mk_nt_hash(struct SessionHandle *data,
#elif defined(USE_NSS)
Curl_md4it(ntbuffer, pw, 2 * len);
#elif defined(USE_DARWINSSL)
- (void)CC_MD4(pw, 2 * len, ntbuffer);
+ (void)CC_MD4(pw, (CC_LONG)(2 * len), ntbuffer);
#endif
memset(ntbuffer + 16, 0, 21 - 16);