From fb1eec974c63fa435286456f5c82b9d9387ff900 Mon Sep 17 00:00:00 2001 From: Nicolay Korslund Date: Mon, 4 Jan 2010 12:22:52 +0100 Subject: [PATCH] Fixed const error in slice_stream.h --- stream/filters/slice_stream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stream/filters/slice_stream.h b/stream/filters/slice_stream.h index 990092be7b..ade0df52bf 100644 --- a/stream/filters/slice_stream.h +++ b/stream/filters/slice_stream.h @@ -57,7 +57,7 @@ class SliceStream : public Stream const void *getPtr() { return getPtr(0, length); } const void *getPtr(size_t size) { - void *ptr = getPtr(pos, size); + const void *ptr = getPtr(pos, size); seek(pos+size); return ptr; }