Debian patch based on the upstream commit below, defuzzed
in the context of the debian package.

commit 90631a6fe54eabd9c80ede5c70bc916719e76cfe
Author: Tim Rühsen <tim.ruehsen@gmx.de>
Date:   Sun Apr 11 12:53:16 2021 +0200

    * 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

Index: wget-1.21/src/wget.h
===================================================================
--- wget-1.21.orig/src/wget.h
+++ wget-1.21/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"
 
