changeset 2069:5bc48557acbb trunk

[svn] - make sure handle->base is a constpointer.
author nenolod
date Fri, 08 Dec 2006 02:26:36 -0800
parents 31b5c59ed31b
children 6a2d368a88de
files ChangeLog libaudacious/vfs_buffer.c
diffstat 2 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Dec 08 02:25:20 2006 -0800
+++ b/ChangeLog	Fri Dec 08 02:26:36 2006 -0800
@@ -1,3 +1,13 @@
+2006-12-08 10:25:20 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [3139]
+  - add VFSBuffer, equivilant to fmemopen().
+  
+  trunk/libaudacious/Makefile     |    4 
+  trunk/libaudacious/vfs_buffer.c |  231 ++++++++++++++++++++++++++++++++++++++++
+  trunk/libaudacious/vfs_buffer.h |   71 ++++++++++++
+  3 files changed, 304 insertions(+), 2 deletions(-)
+
+
 2006-12-08 06:56:55 +0000  William Pitcock <nenolod@nenolod.net>
   revision [3137]
   - allow the output plugin to be changed while playing.
--- a/libaudacious/vfs_buffer.c	Fri Dec 08 02:25:20 2006 -0800
+++ b/libaudacious/vfs_buffer.c	Fri Dec 08 02:26:36 2006 -0800
@@ -217,7 +217,7 @@
     buffer->size = size;
 
     handle->handle = buffer;
-    handle->base = buffer_const;
+    handle->base = &buffer_const;
 
     return handle;
 }