aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-06-21 08:37:53 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-06-21 08:37:53 +0000
commit29c546b4261f9a6759f6ad8c6eb0fe6e3bbdbe4f (patch)
tree06d2506fb2fdb173dcd092866f477ed7ad931bb5
parent0d259b898bf6cc09de17115e4c696c48c97b1bd4 (diff)
typecasts to prevent compiler warnings
-rw-r--r--lib/http_ntlm.c4
1 files changed, 2 insertions, 2 deletions
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