# HG changeset patch # User Elliott Sales de Andrade # Date 1267331891 0 # Node ID d1d03fff1f629a31c0015fe0c25a5ae5b8a789c5 # Parent 3175b89c515619028ecbb1aeb232fa0bf499cd98 Fix some warnings. diff -r 3175b89c5156 -r d1d03fff1f62 pidgin/gtkft.c --- a/pidgin/gtkft.c Sun Feb 28 04:14:15 2010 +0000 +++ b/pidgin/gtkft.c Sun Feb 28 04:38:11 2010 +0000 @@ -1171,7 +1171,7 @@ 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 @@ 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);