diff options
Diffstat (limited to 'libao2/ao_openal.c')
-rw-r--r-- | libao2/ao_openal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libao2/ao_openal.c b/libao2/ao_openal.c index f42ed63427..fcf14dfd4c 100644 --- a/libao2/ao_openal.c +++ b/libao2/ao_openal.c @@ -96,7 +96,7 @@ static int init(int rate, int channels, int format, int flags) { ao_data.bps = channels * rate * 2; ao_data.buffersize = CHUNK_SIZE * NUM_BUF; ao_data.outburst = channels * CHUNK_SIZE; - tmpbuf = (int16_t *)malloc(CHUNK_SIZE); + tmpbuf = malloc(CHUNK_SIZE); return 1; err_out: |