Commit 12ea5bef authored by Nick Zitzmann's avatar Nick Zitzmann
Browse files

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.
parent d4703fa4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);