From 90631a6fe54eabd9c80ede5c70bc916719e76cfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Sun, 11 Apr 2021 12:53:16 +0200 Subject: * src/wget.h: Use strtoll() for str_to_wgint This fixes a regression reported at https://savannah.gnu.org/bugs/?60353. Reported-by: Michal Ruprich --- src/wget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wget.h b/src/wget.h index cbac4678..23f0350d 100644 --- a/src/wget.h +++ b/src/wget.h @@ -144,7 +144,7 @@ typedef int64_t wgint; #define WGINT_MAX INT64_MAX typedef wgint SUM_SIZE_INT; -#define str_to_wgint strtol +#define str_to_wgint strtoll #include "options.h" -- cgit v1.2.1