From: Andre Date: Mon, 24 Apr 2006 14:16:04 +0000 (+0200) Subject: Fix another gcc signedness warning in write.c X-Git-Tag: v0.2.12~26 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=e6f4fda2495378e76e5e0e5dd0756a2ffd3cf95b;p=paraslash.git Fix another gcc signedness warning in write.c --- diff --git a/write.c b/write.c index 538651d6..6e4ee063 100644 --- a/write.c +++ b/write.c @@ -227,7 +227,7 @@ out: */ static size_t check_wave(void) { - unsigned char *a = audiobuf; + unsigned char *a = (unsigned char*)audiobuf; if (a[0] != 'R' || a[1] != 'I' || a[2] != 'F' || a[3] != 'F') return WAV_HEADER_LEN; conf.channels_arg = (unsigned) a[22];