From b2d6e88985c7b59472b9a22a51ef3ea16d41f7f6 Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Wed, 15 Feb 2012 15:09:47 -0600 Subject: make compile on windows --- xxxterm.c | 4 ++-- 1 file 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); -- cgit 1.4.1-2-gfad0