diff options
author | Marco Peereboom <marco@conformal.com> | 2012-01-24 11:36:42 -0600 |
---|---|---|
committer | Marco Peereboom <marco@conformal.com> | 2012-01-24 11:36:42 -0600 |
commit | 53791ad7304e17ca19bf51575a2c57ab1042646b (patch) | |
tree | c18f3b4e9c6a5ec3147fa0b61be19560475210aa /about.c | |
parent | 728fce1bd8a01e09b46f31183fd689c28740f426 (diff) | |
download | xombrero-53791ad7304e17ca19bf51575a2c57ab1042646b.tar.gz |
use inttypes nonsense to make this compile on windows
Diffstat (limited to 'about.c')
-rw-r--r-- | about.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/about.c b/about.c index 4470023..411092f 100644 --- a/about.c +++ b/about.c @@ -118,7 +118,8 @@ struct about_type about_list[] = { */ #define XT_XTP_SES_KEY_SZ 8 #define XT_XTP_SES_KEY_HEX_FMT \ - "%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx" + "%02" PRIx8 "%02" PRIx8 "%02" PRIx8 "%02" PRIx8 "%02" PRIx8 "%02" PRIx8 "%02" PRIx8 "%02" PRIx8 + char *dl_session_key; /* downloads */ char *hl_session_key; /* history list */ char *cl_session_key; /* cookie list */ @@ -290,14 +291,15 @@ stats(struct tab *t, struct karg *args) } fclose(r_cookie_f); snprintf(line, sizeof line, - "<br/>Cookies blocked(*) total: %llu", line_count); + "<br/>Cookies blocked(*) total: %" PRIu64, + line_count); } else show_oops(t, "Can't open blocked cookies file: %s", strerror(errno)); } body = g_strdup_printf( - "Cookies blocked(*) this session: %llu" + "Cookies blocked(*) this session: %" PRIu64 "%s" "<p><small><b>*</b> results vary based on settings</small></p>", blocked_cookies, |