X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=write.c;h=6e4ee0639654eac69ae76cb94e5a0bcffb316688;hp=538651d662e1ad917b36525e91ed5a38283b231a;hb=839a32891754f3f162b73f88b58e04eab8032d7a;hpb=30d5fba186f71ab3d116f41ce894b73b4bf323e0 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];