mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
strtol -> strtoll (for off_t file size)
This commit is contained in:
parent
7cbfe4d8da
commit
8cdc766763
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue