changeset 26916:bf3ad70508f4

Fix a warning. gtkconv.c: In function ¡Æpidgin_conv_custom_smiley_write¡Ç: gtkconv.c:6344: warning: pointer of type ¡Ævoid *¡Ç used in arithmetic
author Paul Aurich <paul@darkrain42.org>
date Tue, 19 May 2009 06:47:40 +0000
parents 90e7220cf773
children 6b0e150f2276 65fadd6977b4
files pidgin/gtkconv.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Tue May 19 06:40:04 2009 +0000
+++ b/pidgin/gtkconv.c	Tue May 19 06:47:40 2009 +0000
@@ -6341,7 +6341,7 @@
 		return;
 
 	smiley->data = g_realloc(smiley->data, smiley->datasize + size);
-	g_memmove(smiley->data + smiley->datasize, data, size);
+	g_memmove((guchar *)smiley->data + smiley->datasize, data, size);
 	smiley->datasize += size;
 
 	loader = smiley->loader;