projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e39b29f
)
explicit typecasts to prevent warnings
author
Daniel Stenberg
<daniel@haxx.se>
Sun, 4 Jul 2004 21:54:49 +0000
(21:54 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Sun, 4 Jul 2004 21:54:49 +0000
(21:54 +0000)
lib/http_ntlm.c
patch
|
blob
|
history
diff --git
a/lib/http_ntlm.c
b/lib/http_ntlm.c
index
8f2a3fd
..
dc31e83
100644
(file)
--- 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);