Adding patch for 32bit arches

This commit is contained in:
Michal Ruprich 2022-03-15 14:08:12 +01:00
parent 8c07254037
commit 1507e79ab7

View 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,