]> git.tue.mpg.de Git - paraslash.git/commitdiff
Fix another gcc signedness warning in write.c
authorAndre <maan@p133.(none)>
Mon, 24 Apr 2006 14:16:04 +0000 (16:16 +0200)
committerAndre <maan@p133.(none)>
Mon, 24 Apr 2006 14:16:04 +0000 (16:16 +0200)
write.c

diff --git a/write.c b/write.c
index 538651d662e1ad917b36525e91ed5a38283b231a..6e4ee0639654eac69ae76cb94e5a0bcffb316688 100644 (file)
--- 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];