wget/wget-1.21.3-hsts-32bit.patch
2022-03-15 14:08:12 +01:00

14 lines
497 B
Diff

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,