mirror of
https://github.com/moparisthebest/curl
synced 2025-01-02 17:38:00 -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
|
#endif
|
||||||
|
|
||||||
ntlmbuf[56] = size & 0xff;
|
ntlmbuf[56] = (unsigned char)(size & 0xff);
|
||||||
ntlmbuf[57] = size >> 8;
|
ntlmbuf[57] = (unsigned char)(size >> 8);
|
||||||
|
|
||||||
/* convert the binary blob into base64 */
|
/* convert the binary blob into base64 */
|
||||||
size = Curl_base64_encode((char *)ntlmbuf, size, &base64);
|
size = Curl_base64_encode((char *)ntlmbuf, size, &base64);
|
||||||
|
Loading…
Reference in New Issue
Block a user