1
0
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:
Daniel Stenberg 2004-07-04 21:54:49 +00:00
parent e39b29fc48
commit dfda9cc007

View File

@ -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);