1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

curl_ntlm_core.c: Fixed compilation warning from commit 1cb17b2a5d

curl_ntlm_core.c:146: warning: passing 'DES_cblock' (aka 'unsigned char
                      [8]') to parameter of type 'char *' converts
                      between pointers to integer types with different
                      sign
This commit is contained in:
Steve Holme 2015-01-02 21:09:24 +00:00
parent 1cb17b2a5d
commit 0ea9381b7d

View File

@ -143,7 +143,7 @@ static void setup_des_key(const unsigned char *key_56,
{
DES_cblock key;
extend_key_56_to_64(key_56, key);
extend_key_56_to_64(key_56, (char *) key);
DES_set_odd_parity(&key);
DES_set_key(&key, ks);
}