cpw.malu.ft_thumbnails: 8e2b7f92: Fix some warnings.
qulogic at pidgin.im
qulogic at pidgin.im
Sun Feb 28 00:53:03 EST 2010
-----------------------------------------------------------------
Revision: 8e2b7f928b977c3a3e7555d39108bc3a47911f38
Ancestor: 37f9288bbb463836a3076a52b5fc9ac91c3f1aa7
Author: qulogic at pidgin.im
Date: 2010-02-28T04:38:11
Branch: im.pidgin.cpw.malu.ft_thumbnails
URL: http://d.pidgin.im/viewmtn/revision/info/8e2b7f928b977c3a3e7555d39108bc3a47911f38
Modified files:
pidgin/gtkft.c
ChangeLog:
Fix some warnings.
-------------- next part --------------
============================================================
--- pidgin/gtkft.c e2447863fc583e916ff085144be9506863e8b49e
+++ pidgin/gtkft.c 0cbd488434f6f24d7bc2a06b6a537b2f1aa38cfc
@@ -1171,7 +1171,7 @@ pidgin_xfer_add_thumbnail(PurpleXfer *xf
purple_xfer_get_local_filename(xfer), 128, 128, NULL);
if (thumbnail) {
- gpointer *buffer = NULL;
+ gchar *buffer = NULL;
gsize size;
char *option_keys[2] = {"quality", NULL};
char *option_values[2] = {"75", NULL};
@@ -1179,7 +1179,8 @@ pidgin_xfer_add_thumbnail(PurpleXfer *xf
option_keys, option_values, NULL);
if (buffer) {
- purple_debug_info("pidgin", "created thumbnail of %d bytes\n",
+ purple_debug_info("pidgin",
+ "created thumbnail of %" G_GSIZE_FORMAT " bytes\n",
size);
purple_xfer_set_thumbnail(xfer, buffer, size);
g_free(buffer);
More information about the Commits
mailing list