From 35918c990163b2e4350156aba11c50ebd2807ef1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 25 Aug 2008 15:49:06 +0200 Subject: fixed ringbuf.c warnings Fix a "signed/unsigned comparison warning", and several void pointer math warnings. --- src/ringbuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ringbuf.h') diff --git a/src/ringbuf.h b/src/ringbuf.h index d4baffdbd..f666f0bbe 100644 --- a/src/ringbuf.h +++ b/src/ringbuf.h @@ -39,7 +39,7 @@ */ struct ringbuf { - void *buf; + unsigned char *buf; size_t write_ptr; size_t read_ptr; size_t size; -- cgit v1.2.3