Adding patch for 32bit arches
This commit is contained in:
parent
8c07254037
commit
1507e79ab7
13
wget-1.21.3-hsts-32bit.patch
Normal file
13
wget-1.21.3-hsts-32bit.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/src/hsts.c b/src/hsts.c
|
||||
index 0a01440..c4c26c9 100644
|
||||
--- a/src/hsts.c
|
||||
+++ b/src/hsts.c
|
||||
@@ -293,7 +293,7 @@ hsts_read_database (hsts_store_t store, FILE *fp, bool merge_with_existing_entri
|
||||
if (*p == '#')
|
||||
continue;
|
||||
|
||||
- items_read = sscanf (p, "%255s %d %d %" SCNd64 " %" SCNd64,
|
||||
+ items_read = sscanf (p, "%255s %d %d %" SCNd32 " %" SCNd32,
|
||||
host,
|
||||
&port,
|
||||
&include_subdomains,
|
Loading…
Reference in New Issue
Block a user