diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c index 9efa420a1..8f2a3fd3c 100644 --- a/lib/http_ntlm.c +++ b/lib/http_ntlm.c @@ -427,12 +427,12 @@ CURLcode Curl_output_ntlm(struct connectdata *conn, if (user) { domain = userp; - domlen = user - domain; + domlen = (int)(user - domain); user++; } else user = userp; - userlen = strlen(user); + userlen = (int)strlen(user); mkhash(passwdp, &ntlm->nonce[0], lmresp #ifdef USE_NTRESPONSES