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
1 changed files with 1 additions and 1 deletions

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