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,