Mercurial > pidgin.yaz
diff libgaim/circbuffer.c @ 14956: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 | 60b1bc8dbf37 |
children | f08b43af6791 |
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;