changeset 14955:e3daf404bf2c

[gaim-migrate @ 17734] Alver really wants gaim to compile committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Fri, 10 Nov 2006 14:35:37 +0000
parents e1446f88650c
children 0b98802a97cf
files libgaim/circbuffer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libgaim/circbuffer.c	Fri Nov 10 14:30:45 2006 +0000
+++ b/libgaim/circbuffer.c	Fri Nov 10 14:35:37 2006 +0000
@@ -104,7 +104,7 @@
 	memcpy(buf->inptr, src, len_stored);
 
 	if (len_stored < len) {
-		memcpy(buf->buffer, src + len_stored, len - len_stored);
+		memcpy(buf->buffer, (char*)src + len_stored, len - len_stored);
 		buf->inptr = buf->buffer + (len - len_stored);
 	} else if ((buf->buffer - buf->inptr) == len_stored) {
 		buf->inptr = buf->buffer;