diff options
author | Max Kellermann <max@duempel.org> | 2008-08-25 15:49:06 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-08-30 17:08:30 -0700 |
commit | aa2fcfa7574ebdf3e348c051e496797841aa4f1d (patch) | |
tree | 33c72144c6748d3f8ac4566359ee5f867f27f499 /src/ringbuf.h | |
parent | 191ab3301cff60a87375f74f0122a2098dbe4dcd (diff) | |
download | mpd-aa2fcfa7574ebdf3e348c051e496797841aa4f1d.tar.gz mpd-aa2fcfa7574ebdf3e348c051e496797841aa4f1d.tar.xz mpd-aa2fcfa7574ebdf3e348c051e496797841aa4f1d.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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ringbuf.h b/src/ringbuf.h index 43ba83a7c..93f753897 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; |