summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/ringbuffer.h
diff options
context:
space:
mode:
authorTaybin Rutkin <taybin@taybin.com>2007-03-16 22:17:53 +0000
committerTaybin Rutkin <taybin@taybin.com>2007-03-16 22:17:53 +0000
commitd2958b9967c3fd051c941387c0e6fe617a30e344 (patch)
tree6221a106ae55cd8a9d0e0a9d3e9c437842597b12 /libs/pbd/pbd/ringbuffer.h
parent49aaef4914eaa8325603998da38d63bb229b5ddd (diff)
Another fix for building ringbuffer.h with strict-aliasing in XCode.
Removed mutex.h from XCode project. git-svn-id: svn://localhost/ardour2/trunk@1607 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/pbd/ringbuffer.h')
-rw-r--r--libs/pbd/pbd/ringbuffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/pbd/pbd/ringbuffer.h b/libs/pbd/pbd/ringbuffer.h
index f50593bfb7..d98601461e 100644
--- a/libs/pbd/pbd/ringbuffer.h
+++ b/libs/pbd/pbd/ringbuffer.h
@@ -113,8 +113,8 @@ class RingBuffer
protected:
T *buf;
guint size;
- mutable guint write_idx;
- mutable guint read_idx;
+ mutable gint write_idx;
+ mutable gint read_idx;
guint size_mask;
};