Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
1da58b68a5 fix compiler warning about wrong format specifier 2017-10-29 23:36:28 +01:00

View file

@ -22,7 +22,7 @@
// load photo // load photo
static void tgp_info_update_photo_id (PurpleBlistNode *node, long long photo) { static void tgp_info_update_photo_id (PurpleBlistNode *node, long long photo) {
char *llid = g_strdup_printf ("%" G_GINT64_FORMAT, photo); char *llid = g_strdup_printf ("%lld", photo);
debug ("tgp_info_update_photo_id %s", llid); debug ("tgp_info_update_photo_id %s", llid);
purple_blist_node_set_string (node, TGP_INFO_PHOTO_ID, llid); purple_blist_node_set_string (node, TGP_INFO_PHOTO_ID, llid);
g_free (llid); g_free (llid);