From 572d33dfee6fa8029d584a5a2b0c815ee02280ba Mon Sep 17 00:00:00 2001 From: Alejandro Javier Asenjo Nitti Date: Wed, 6 Mar 2024 20:37:37 -0300 Subject: [PATCH] fix warning --- src/main/audio_synthesis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/audio_synthesis.c b/src/main/audio_synthesis.c index 9ece431e..c7e26773 100644 --- a/src/main/audio_synthesis.c +++ b/src/main/audio_synthesis.c @@ -639,7 +639,7 @@ Acmd* func_80009B64(Acmd* aList, s32* cmdCount, s16* aiBufStart, s32 aiBufLen) { func_800080C0(chunkLen, gAudioBufferParams.ticksPerUpdate - i, j); } } - aCmdPtr = func_8000A25C(aiBufPtr, chunkLen, aCmdPtr, gAudioBufferParams.ticksPerUpdate - i); + aCmdPtr = func_8000A25C((s16*) aiBufPtr, chunkLen, aCmdPtr, gAudioBufferParams.ticksPerUpdate - i); aiBufLen -= chunkLen; aiBufPtr += chunkLen; }