From 12ea5beffc2fb0db09db0ac291f362c1f81b5f03 Mon Sep 17 00:00:00 2001 From: Nick Zitzmann Date: Sat, 16 Feb 2013 14:21:09 -0700 Subject: 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. --- lib/curl_ntlm_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/curl_ntlm_core.c') 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); -- cgit v1.2.3