diff --git a/rdpsnd_libao.c b/rdpsnd_libao.c index 2ee5678..5bb3e79 100644 --- a/rdpsnd_libao.c +++ b/rdpsnd_libao.c @@ -175,7 +175,7 @@ wave_out_play(void) { struct audio_packet *packet; STREAM out; - unsigned char outbuf[WAVEOUTBUF]; + char outbuf[WAVEOUTBUF]; int offset, len, i; static long prev_s, prev_us; unsigned int duration; @@ -240,7 +240,7 @@ wave_out_play(void) out->p += len; } - ao_play(o_device, (char *) outbuf, len); + ao_play(o_device, outbuf, len); gettimeofday(&tv, NULL);