changeset 29816:d1d03fff1f62

Fix some warnings.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 28 Feb 2010 04:38:11 +0000
parents 3175b89c5156
children b680a9f2b641
files pidgin/gtkft.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);