diff options
author | Steve Holme <steve_holme@hotmail.com> | 2015-01-02 21:09:24 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2015-01-02 21:14:36 +0000 |
commit | 0ea9381b7da0abd016443f50497a521cda343554 (patch) | |
tree | 612d4af95523f7145194aeb5f58f981baffb8c38 | |
parent | 1cb17b2a5dc29f41fcd1ba9ebec5742ab9dfcaab (diff) |
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
-rw-r--r-- | lib/curl_ntlm_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/curl_ntlm_core.c b/lib/curl_ntlm_core.c index c6765ecae..2aaea4db8 100644 --- a/lib/curl_ntlm_core.c +++ b/lib/curl_ntlm_core.c @@ -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); } |