mirror of
https://github.com/curl/curl.git
synced 2026-08-24 22:53:37 +03:00
curl: make the URL indexes 64 bit
Otherwise we could misbehave already at 2 billion URLs and we can't have that. A few of the counters are already correctly using the right type. Closes #18096
This commit is contained in:
parent
d413ed2d40
commit
98bcb885fe
4 changed files with 14 additions and 11 deletions
|
|
@ -1250,7 +1250,7 @@ static CURLcode single_transfer(struct OperationConfig *config,
|
|||
}
|
||||
per->config = config;
|
||||
per->curl = curl;
|
||||
per->urlnum = (unsigned int)u->num;
|
||||
per->urlnum = u->num;
|
||||
|
||||
/* default headers output stream is stdout */
|
||||
heads = &per->heads;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue