Fix some warnings. cpw.malu.ft_thumbnails

Sun, 28 Feb 2010 04:38:11 +0000

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Sun, 28 Feb 2010 04:38:11 +0000
branch
cpw.malu.ft_thumbnails
changeset 29777
ffb56bb69f7e
parent 29776
be53c06b4e34
child 29778
c90cd27a8560

Fix some warnings.

pidgin/gtkft.c file | annotate | diff | comparison | revisions
--- 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);

mercurial