mirror of
https://github.com/curl/curl.git
synced 2026-08-25 12:03:39 +03:00
lib: use size_t or int etc instead of longs
Since long is not using a consistent data size in curl builds, making it often "waste" 32 bits. Closes #10088
This commit is contained in:
parent
58f55ba57e
commit
57d2d9b6be
5 changed files with 14 additions and 14 deletions
|
|
@ -1166,7 +1166,7 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
|
|||
break;
|
||||
|
||||
case CURLOPT_SOCKS5_AUTH:
|
||||
data->set.socks5auth = va_arg(param, unsigned long);
|
||||
data->set.socks5auth = (unsigned char)va_arg(param, unsigned long);
|
||||
if(data->set.socks5auth & ~(CURLAUTH_BASIC | CURLAUTH_GSSAPI))
|
||||
result = CURLE_NOT_BUILT_IN;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue