From e6f4fda2495378e76e5e0e5dd0756a2ffd3cf95b Mon Sep 17 00:00:00 2001 From: Andre Date: Mon, 24 Apr 2006 16:16:04 +0200 Subject: [PATCH] Fix another gcc signedness warning in write.c --- write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.39.5