mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
explicit typecasts to prevent warnings
This commit is contained in:
parent
e39b29fc48
commit
dfda9cc007
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user