aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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