diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-07-04 21:54:49 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-07-04 21:54:49 +0000 |
commit | dfda9cc007bd9a576bc1b9e65200367c1680c08a (patch) | |
tree | 1d5cce174304f3f02a70f96b8b57eae7a1e4ae35 | |
parent | e39b29fc4828d20ff7aff3b23370f7cdde5d6621 (diff) |
explicit typecasts to prevent warnings
-rw-r--r-- | lib/http_ntlm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c index 8f2a3fd3c..dc31e837a 100644 --- a/lib/http_ntlm.c +++ b/lib/http_ntlm.c @@ -547,8 +547,8 @@ CURLcode Curl_output_ntlm(struct connectdata *conn, } #endif - ntlmbuf[56] = size & 0xff; - ntlmbuf[57] = size >> 8; + ntlmbuf[56] = (unsigned char)(size & 0xff); + ntlmbuf[57] = (unsigned char)(size >> 8); /* convert the binary blob into base64 */ size = Curl_base64_encode((char *)ntlmbuf, size, &base64); |