mirror of
https://github.com/curl/curl.git
synced 2026-08-01 07:58:10 +03:00
tool_urlglob: use curl_off_t instead of longs
To handle more globs better (especially on Windows) Closes #11224
This commit is contained in:
parent
a1730b6106
commit
0807fd72f9
5 changed files with 31 additions and 26 deletions
|
|
@ -205,7 +205,7 @@ static curl_off_t VmsSpecialSize(const char *name,
|
|||
|
||||
struct per_transfer *transfers; /* first node */
|
||||
static struct per_transfer *transfersl; /* last node */
|
||||
static long all_pers;
|
||||
static curl_off_t all_pers;
|
||||
|
||||
/* add_per_transfer creates a new 'per_transfer' node in the linked
|
||||
list of transfers */
|
||||
|
|
@ -806,7 +806,7 @@ static CURLcode single_transfer(struct GlobalConfig *global,
|
|||
}
|
||||
|
||||
{
|
||||
unsigned long urlnum;
|
||||
curl_off_t urlnum;
|
||||
|
||||
if(!state->up && !infiles)
|
||||
Curl_nop_stmt;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue