ringbuffer bugfixes.
[swftools.git] / src / q.h
diff --git a/src/q.h b/src/q.h
index 21ac51e..b530447 100644 (file)
--- a/src/q.h
+++ b/src/q.h
@@ -22,7 +22,7 @@ typedef struct _mem_t {
 typedef struct _ringbuffer_t
 {
     void*internal;
-    int size;
+    int available;
 } ringbuffer_t;
 
 /* non-nul terminated string */