Add cast for mve play cvt malloc

This commit is contained in:
Kp 2012-11-24 16:54:03 +00:00
parent 48effa8a6b
commit 69c507c5a7

View file

@ -476,7 +476,7 @@ static int audio_data_handler(unsigned char major, unsigned char minor, unsigned
out_format, out_channels, out_freq);
clen = nsamp * cvt.len_mult;
cvt.buf = malloc(clen);
cvt.buf = (Uint8 *) malloc(clen);
cvt.len = nsamp;
// read the audio buffer into the conversion buffer