1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-25 16:13:17 +00:00

strtol -> strtoll (for off_t file size)

This commit is contained in:
Andrey A. Chernov 2001-09-01 23:36:40 +00:00
parent 7cbfe4d8da
commit 8cdc766763
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82772

View File

@ -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