strtol -> strtoll (for off_t file size)
This commit is contained in:
parent
7cbfe4d8da
commit
8cdc766763
@ -356,7 +356,7 @@ url_get(origline, proxyenv)
|
||||
goto improper;
|
||||
else
|
||||
*ep = '\0';
|
||||
filesize = strtol(cp, &ep, 10);
|
||||
filesize = strtoll(cp, &ep, 10);
|
||||
if (filesize < 1 || *ep != '\0')
|
||||
goto improper;
|
||||
} else
|
||||
|
Loading…
x
Reference in New Issue
Block a user