aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ftp
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-09-01 23:36:40 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-09-01 23:36:40 +0000
commit8cdc766763ab98641d9b35c6edc157bf7e331fa9 (patch)
treef8ba653d58d4671d5f5a920e92f36ede99ac84c0 /usr.bin/ftp
parent7cbfe4d8da4ee47bb2ce38d385a25f4c288113c1 (diff)
downloadsrc-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.c2
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