diff options
author | Yang Tse <yangsita@gmail.com> | 2012-04-18 23:04:35 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-04-18 23:04:35 +0200 |
commit | 9421b06397d25426ab013e2b90d4604ed6430926 (patch) | |
tree | a68eb6cedecc10d15fa98340130dee605947e4e1 /lib/url.c | |
parent | 09690be8decdde2d8cb7c7a41d1d11021ec49c96 (diff) | |
download | curl-9421b06397d25426ab013e2b90d4604ed6430926.tar.gz |
Take in account that CURLAUTH_* bitmasks are now 'unsigned long'
Data type of internal vars holding CURLAUTH_* bitmasks changed from 'long' to
'unsigned long' for proper handling and operating.
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1397,7 +1397,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, * Set HTTP Authentication type BITMASK. */ { - long auth = va_arg(param, long); + unsigned long auth = va_arg(param, unsigned long); /* the DIGEST_IE bit is only used to set a special marker, for all the rest we need to handle it as normal DIGEST */ @@ -1461,7 +1461,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, * Set HTTP Authentication type BITMASK. */ { - long auth = va_arg(param, long); + unsigned long auth = va_arg(param, unsigned long); /* the DIGEST_IE bit is only used to set a special marker, for all the rest we need to handle it as normal DIGEST */ |