]>
Commit | Line | Data |
---|---|---|
0c7b0025 JP |
1 | From 90631a6fe54eabd9c80ede5c70bc916719e76cfe Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Tim=20R=C3=BChsen?= <tim.ruehsen@gmx.de> | |
3 | Date: Sun, 11 Apr 2021 12:53:16 +0200 | |
4 | Subject: * src/wget.h: Use strtoll() for str_to_wgint | |
5 | ||
6 | This fixes a regression reported at https://savannah.gnu.org/bugs/?60353. | |
7 | ||
8 | Reported-by: Michal Ruprich | |
9 | --- | |
10 | src/wget.h | 2 +- | |
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
12 | ||
13 | diff --git a/src/wget.h b/src/wget.h | |
14 | index cbac4678..23f0350d 100644 | |
15 | --- a/src/wget.h | |
16 | +++ b/src/wget.h | |
17 | @@ -144,7 +144,7 @@ typedef int64_t wgint; | |
18 | #define WGINT_MAX INT64_MAX | |
19 | typedef wgint SUM_SIZE_INT; | |
20 | ||
21 | -#define str_to_wgint strtol | |
22 | +#define str_to_wgint strtoll | |
23 | ||
24 | #include "options.h" | |
25 | ||
26 | -- | |
27 | cgit v1.2.1 | |
28 |