diff options
author | Daniel Stenberg <daniel@haxx.se> | 2022-12-13 15:02:00 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-12-14 12:31:01 +0100 |
commit | 57d2d9b6bed33dd92a6481b4aee363b42c3bf76b (patch) | |
tree | 2381380dcd8ce22576e04afd329b1dfcbd72ab09 /lib/urldata.h | |
parent | 58f55ba57e630571a5c9d110ce5f94f526fe094f (diff) | |
download | curl-57d2d9b6bed33dd92a6481b4aee363b42c3bf76b.tar.gz |
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
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 522f534a5..3d7545c68 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -1627,7 +1627,7 @@ struct UserDefined { unsigned long httpauth; /* kind of HTTP authentication to use (bitmask) */ unsigned long proxyauth; /* kind of proxy authentication to use (bitmask) */ #ifndef CURL_DISABLE_PROXY - unsigned long socks5auth;/* kind of SOCKS5 authentication to use (bitmask) */ + unsigned char socks5auth;/* kind of SOCKS5 authentication to use (bitmask) */ #endif long maxredirs; /* maximum no. of http(s) redirects to follow, set to -1 for infinity */ |