diff options
author | Marco Peereboom <marco@conformal.com> | 2012-02-15 15:09:47 -0600 |
---|---|---|
committer | Marco Peereboom <marco@conformal.com> | 2012-02-15 15:09:47 -0600 |
commit | b2d6e88985c7b59472b9a22a51ef3ea16d41f7f6 (patch) | |
tree | 3051db24c1ea8c1a72d9e398723a659b506d7cdd | |
parent | 47224e60af8a87b29c3f81605ea6732293648993 (diff) | |
download | xombrero-b2d6e88985c7b59472b9a22a51ef3ea16d41f7f6.tar.gz |
make compile on windows
-rw-r--r-- | xxxterm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xxxterm.c b/xxxterm.c index e17f5f9..43c2315 100644 --- a/xxxterm.c +++ b/xxxterm.c @@ -4192,7 +4192,7 @@ 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%d\t%d\n", d->host, d->timeout, + fprintf(f, "%s\t%d\t%d\n", d->host, (int)d->timeout, d->flags & XT_STS_FLAGS_INCLUDE_SUBDOMAINS); } fclose(f); @@ -4217,7 +4217,7 @@ strict_transport_add(const char *domain, time_t timeout, int subdomains) } fseek(f, 0, SEEK_END); - fprintf(f,"%s\t%d\t%d\n", d->host, timeout, subdomains); + fprintf(f,"%s\t%d\t%d\n", d->host, (int)timeout, subdomains); fclose(f); } return (0); |