changeset 353:29084c253e68

build fix for some versions of gcc
author Yoshiki Yazawa <[email protected]>
date Fri, 16 Apr 2010 12:28:22 +0900
parents f60ee22c1ac8
children ff078879e68e
files util.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/util.c	Fri Apr 16 12:22:30 2010 +0900
+++ b/util.c	Fri Apr 16 12:28:22 2010 +0900
@@ -446,7 +446,7 @@
 void do_retweet(void *data)
 {
     guint64 msgid = *(guint64 *)data;
-    twitter_debug("msgid=%llu\n", msgid);
+    twitter_debug("msgid=%llu\n", (long long unsigned int)msgid);
     retweet_with_api(msgid);
 }
 
@@ -504,7 +504,7 @@
 
         idstr = g_hash_table_lookup(params, "id");
         retweet_msgid = strtoull(idstr, NULL, 10);
-        twitter_debug("retweet_msgid=%llu\n", retweet_msgid);
+        twitter_debug("retweet_msgid=%llu\n", (long long unsigned int)retweet_msgid);
 
         retweet_dialog = pidgin_make_mini_dialog(
             NULL,