summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Rühsen <tim.ruehsen@gmx.de>2021-04-11 12:53:16 +0200
committerTim Rühsen <tim.ruehsen@gmx.de>2021-04-11 12:53:20 +0200
commit90631a6fe54eabd9c80ede5c70bc916719e76cfe (patch)
tree5f62db78e14074fc999238ef45a0a4fb03317173
parentfd2a061f6a30304e8b3ccccec175f3e02e2855ed (diff)
downloadwget-90631a6fe54eabd9c80ede5c70bc916719e76cfe.tar.gz
* 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
-rw-r--r--src/wget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wget.h b/src/wget.h
index cbac467..23f0350 100644
--- a/src/wget.h
+++ b/src/wget.h
@@ -144,7 +144,7 @@ typedef int64_t wgint;
#define WGINT_MIN INT64_MIN
#define WGINT_MAX INT64_MAX
-#define str_to_wgint strtol
+#define str_to_wgint strtoll
#include "options.h"