mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
setopt: make protocol2num use a curl_off_t for the protocol bit
... since WSS does not fit within 32 bit. Bug: https://github.com/curl/curl/pull/9467#issuecomment-1243014887 Closes #9476
This commit is contained in:
parent
f06e5c3544
commit
9ac40bfcf0
@ -153,7 +153,7 @@ static CURLcode protocol2num(char *str, curl_off_t *val)
|
||||
bool found_comma = FALSE;
|
||||
static struct scheme {
|
||||
const char *name;
|
||||
long bit;
|
||||
curl_off_t bit;
|
||||
} const protos[] = {
|
||||
{ "dict", CURLPROTO_DICT },
|
||||
{ "file", CURLPROTO_FILE },
|
||||
|
Loading…
Reference in New Issue
Block a user