Mercurial > pidgin-twitter
comparison util.c @ 353:29084c253e68
build fix for some versions of gcc
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Fri, 16 Apr 2010 12:28:22 +0900 |
parents | f60ee22c1ac8 |
children |
comparison
equal
deleted
inserted
replaced
352:f60ee22c1ac8 | 353:29084c253e68 |
---|---|
444 } | 444 } |
445 | 445 |
446 void do_retweet(void *data) | 446 void do_retweet(void *data) |
447 { | 447 { |
448 guint64 msgid = *(guint64 *)data; | 448 guint64 msgid = *(guint64 *)data; |
449 twitter_debug("msgid=%llu\n", msgid); | 449 twitter_debug("msgid=%llu\n", (long long unsigned int)msgid); |
450 retweet_with_api(msgid); | 450 retweet_with_api(msgid); |
451 } | 451 } |
452 | 452 |
453 gboolean | 453 gboolean |
454 pt_uri_handler(const char *proto, const char *cmd, GHashTable *params) | 454 pt_uri_handler(const char *proto, const char *cmd, GHashTable *params) |
502 GtkWidget *retweet_dialog; | 502 GtkWidget *retweet_dialog; |
503 static guint64 retweet_msgid = 0; | 503 static guint64 retweet_msgid = 0; |
504 | 504 |
505 idstr = g_hash_table_lookup(params, "id"); | 505 idstr = g_hash_table_lookup(params, "id"); |
506 retweet_msgid = strtoull(idstr, NULL, 10); | 506 retweet_msgid = strtoull(idstr, NULL, 10); |
507 twitter_debug("retweet_msgid=%llu\n", retweet_msgid); | 507 twitter_debug("retweet_msgid=%llu\n", (long long unsigned int)retweet_msgid); |
508 | 508 |
509 retweet_dialog = pidgin_make_mini_dialog( | 509 retweet_dialog = pidgin_make_mini_dialog( |
510 NULL, | 510 NULL, |
511 PIDGIN_STOCK_DIALOG_INFO, | 511 PIDGIN_STOCK_DIALOG_INFO, |
512 "Are you sure to retweet this message?", | 512 "Are you sure to retweet this message?", |