some quick hacks to avoid signedness warnings with gcc4

git-svn-id: https://svn.musicpd.org/mpd/trunk@4387 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes
2006-07-17 21:46:32 +00:00
parent 7fdcd56a99
commit 0bf396d610
9 changed files with 120 additions and 108 deletions

View File

@@ -93,7 +93,7 @@ static int audiofile_decode(OutputBuffer * cb, DecoderControl * dc, char * path)
dc->state = DECODE_STATE_DECODE;
{
int ret, eof = 0, current = 0;
unsigned char chunk[CHUNK_SIZE];
char chunk[CHUNK_SIZE];
while(!eof) {
if(dc->seek) {