/pidgin/main: 0ab9ed685a54: win32: fix a warning in http module

Tomasz Wasilczyk tomkiewicz at cpw.pidgin.im
Mon Apr 8 12:09:05 EDT 2013


Changeset: 0ab9ed685a54c344fd68d259fa3c1debdc6f7e2f
Author:	 Tomasz Wasilczyk <tomkiewicz at cpw.pidgin.im>
Date:	 2013-04-08 18:08 +0200
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/0ab9ed685a54

Description:

win32: fix a warning in http module

diffstat:

 libpurple/http.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff --git a/libpurple/http.c b/libpurple/http.c
--- a/libpurple/http.c
+++ b/libpurple/http.c
@@ -1687,8 +1687,8 @@ gchar * purple_http_cookie_jar_dump(Purp
 
 	g_hash_table_iter_init(&it, cjar->tab);
 	while (g_hash_table_iter_next(&it, (gpointer*)&key, (gpointer*)&cookie))
-		g_string_append_printf(str, "%s: %s (expires: %lld)\n", key,
-			cookie->value, (long long int)cookie->expires);
+		g_string_append_printf(str, "%s: %s (expires: %" G_GINT64_FORMAT
+		")\n", key, cookie->value, (gint64)cookie->expires);
 
 	if (str->len > 0)
 		g_string_truncate(str, str->len - 1);



More information about the Commits mailing list