aboutsummaryrefslogtreecommitdiffstats
path: root/src/ringbuf.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-25 15:49:06 +0200
committerMax Kellermann <max@duempel.org>2008-08-25 15:49:06 +0200
commit35918c990163b2e4350156aba11c50ebd2807ef1 (patch)
tree276ce3ee84d5a3b0b799081538887e05b7e976e0 /src/ringbuf.h
parentf9f70860622613686e6ac0bf7ebd448f437d92a7 (diff)
downloadmpd-35918c990163b2e4350156aba11c50ebd2807ef1.tar.gz
mpd-35918c990163b2e4350156aba11c50ebd2807ef1.tar.xz
mpd-35918c990163b2e4350156aba11c50ebd2807ef1.zip
fixed ringbuf.c warnings
Fix a "signed/unsigned comparison warning", and several void pointer math warnings.
Diffstat (limited to '')
-rw-r--r--src/ringbuf.h2
1 files changed, 1 insertions, 1 deletions
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;