Mercurial > audlegacy
diff src/audacious/vfs_buffer.c @ 2519:793ede082399 trunk
[svn] - fix: vfs_buffer.c:218: warning: pointer of type 'void *' used in arithmetic
author | nenolod |
---|---|
date | Wed, 14 Feb 2007 11:24:39 -0800 |
parents | 4c9910af4cc5 |
children | 07b990906823 |
line wrap: on
line diff
--- a/src/audacious/vfs_buffer.c Wed Feb 14 11:05:36 2007 -0800 +++ b/src/audacious/vfs_buffer.c Wed Feb 14 11:24:39 2007 -0800 @@ -215,7 +215,7 @@ buffer = g_new0(VFSBuffer, 1); buffer->data = data; buffer->iter = data; - buffer->end = data + size; + buffer->end = (guchar *) data + size; buffer->size = size; handle->handle = buffer;