diff options
author | Marco Peereboom <marco@conformal.com> | 2012-05-18 08:27:53 -0500 |
---|---|---|
committer | Marco Peereboom <marco@conformal.com> | 2012-05-18 08:27:53 -0500 |
commit | e6838ea12ffb341c2aabaaee9a9071f5a46a2c24 (patch) | |
tree | 682389d8da98ad424f66fb61280a442719a531d3 /xombrero.c | |
parent | 6dd150e897d834456ac03f1cf2829d50c4c14fb9 (diff) | |
download | xombrero-e6838ea12ffb341c2aabaaee9a9071f5a46a2c24.tar.gz |
remove a couple of long long variables that confuse various compiler
Diffstat (limited to 'xombrero.c')
-rw-r--r-- | xombrero.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/xombrero.c b/xombrero.c index f1cbf62..daad246 100644 --- a/xombrero.c +++ b/xombrero.c @@ -4239,8 +4239,8 @@ strict_transport_add(const char *domain, time_t timeout, int subdomains) if (enable_strict_transport == FALSE) return (0); - DPRINTF("strict_transport_add(%s,%" PRIo64 ",%d)\n", domain, - (long long)timeout, subdomains); + DPRINTF("strict_transport_add(%s,%" PRIi64 ",%d)\n", domain, + (uint64_t)timeout, subdomains); now = time(NULL); if (timeout < now) @@ -4276,7 +4276,8 @@ strict_transport_add(const char *domain, time_t timeout, int subdomains) RB_FOREACH(d, strict_transport_tree, &st_tree) { if (d->timeout < now) continue; - fprintf(f, "%s\t%" PRIo64 "\t%d\n", d->host, (long long)d->timeout, + fprintf(f, "%s\t%" PRIi64 "\t%d\n", d->host, + (uint64_t)d->timeout, d->flags & XT_STS_FLAGS_INCLUDE_SUBDOMAINS); } fclose(f); @@ -4301,7 +4302,8 @@ strict_transport_add(const char *domain, time_t timeout, int subdomains) } fseek(f, 0, SEEK_END); - fprintf(f,"%s\t%" PRIo64 "\t%d\n", d->host, (long long)timeout, subdomains); + fprintf(f,"%s\t%" PRIi64 "\t%d\n", d->host, (uint64_t)timeout, + subdomains); fclose(f); } return (0); |