From 8cdc766763ab98641d9b35c6edc157bf7e331fa9 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sat, 1 Sep 2001 23:36:40 +0000 Subject: [PATCH] strtol -> strtoll (for off_t file size) --- usr.bin/ftp/fetch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/ftp/fetch.c b/usr.bin/ftp/fetch.c index c9b46402924..0c486af477e 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