diff th_util.h @ 306:21528fe535fb

Don't use void pointers in the ringbuffer implementation.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 11 Jun 2011 05:36:09 +0300
parents 1807059fb8f2
children
line wrap: on
line diff
--- a/th_util.h	Sat Jun 11 05:10:41 2011 +0300
+++ b/th_util.h	Sat Jun 11 05:36:09 2011 +0300
@@ -114,7 +114,7 @@
 /* Ringbuffer implementation
  */
 typedef struct {
-    void **data;
+    char **data;
     int n, size;
     void (*deallocator)(void *);
 } qringbuf_t;