diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2001-09-01 23:36:40 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2001-09-01 23:36:40 +0000 |
commit | 8cdc766763ab98641d9b35c6edc157bf7e331fa9 (patch) | |
tree | f8ba653d58d4671d5f5a920e92f36ede99ac84c0 /usr.bin/ftp | |
parent | 7cbfe4d8da4ee47bb2ce38d385a25f4c288113c1 (diff) | |
download | src-8cdc766763ab98641d9b35c6edc157bf7e331fa9.tar.gz src-8cdc766763ab98641d9b35c6edc157bf7e331fa9.zip |
strtol -> strtoll (for off_t file size)
Notes
Notes:
svn path=/head/; revision=82772
Diffstat (limited to 'usr.bin/ftp')
-rw-r--r-- | usr.bin/ftp/fetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ftp/fetch.c b/usr.bin/ftp/fetch.c index c9b46402924f..0c486af477e1 100644 --- a/usr.bin/ftp/fetch.c +++ b/usr.bin/ftp/fetch.c @@ -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 |