pidgin: f31c2372: Fix a warning.
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Tue May 19 02:50:22 EDT 2009
-----------------------------------------------------------------
Revision: f31c237230f5ba1bbcda8aa1d4017c909484430d
Ancestor: 371ba5a5719cb1bfa446344cb6b5abdae7c35377
Author: darkrain42 at pidgin.im
Date: 2009-05-19T06:47:40
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/f31c237230f5ba1bbcda8aa1d4017c909484430d
Modified files:
pidgin/gtkconv.c
ChangeLog:
Fix a warning.
gtkconv.c: In function 'pidgin_conv_custom_smiley_write':
gtkconv.c:6344: warning: pointer of type 'void *' used in arithmetic
-------------- next part --------------
============================================================
--- pidgin/gtkconv.c 4d032fbe5da82c8d0dd82b3979d45647125d63db
+++ pidgin/gtkconv.c cde7a70d6f70701569303757f52e3bb578dadfe0
@@ -6341,7 +6341,7 @@ pidgin_conv_custom_smiley_write(PurpleCo
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;
More information about the Commits
mailing list