changeset 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 b210d1ea2084
files ChangeLog src/audacious/build_stamp.c src/audacious/vfs_buffer.c
diffstat 3 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Feb 14 11:05:36 2007 -0800
+++ b/ChangeLog	Wed Feb 14 11:24:39 2007 -0800
@@ -1,3 +1,11 @@
+2007-02-14 19:05:36 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [4046]
+  - fix signed vs unsigned comparisons and missing initializer warnings
+  
+  trunk/src/audacious/vfs_buffer.c |   11 ++++++++---
+  1 file changed, 8 insertions(+), 3 deletions(-)
+
+
 2007-02-14 18:48:52 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [4044]
   - fix a signed vs unsigned comparison
--- a/src/audacious/build_stamp.c	Wed Feb 14 11:05:36 2007 -0800
+++ b/src/audacious/build_stamp.c	Wed Feb 14 11:24:39 2007 -0800
@@ -1,2 +1,2 @@
 #include <glib.h>
-const gchar *svn_stamp = "20070214-4044";
+const gchar *svn_stamp = "20070214-4046";
--- 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;