about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <seebastien.chev@gmail.com>2023-08-26 16:50:20 +0200
committerptitSeb <seebastien.chev@gmail.com>2023-08-26 16:50:53 +0200
commit5fabd602aea1937e3c5ce58843504c2492b8c0ec (patch)
treeb76c474898f9cc016e055e337bf183f19809467a /src
parent0393e15843bb484bb65255a6b02a52fc2498c9fb (diff)
downloadbox64-5fabd602aea1937e3c5ce58843504c2492b8c0ec.tar.gz
box64-5fabd602aea1937e3c5ce58843504c2492b8c0ec.zip
Fixed signature of SDL1 AudioCallback (for #952)
Diffstat (limited to 'src')
-rw-r--r--src/wrapped/wrappedsdl1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped/wrappedsdl1.c b/src/wrapped/wrappedsdl1.c
index 50f3e1b2..b38a3fd9 100644
--- a/src/wrapped/wrappedsdl1.c
+++ b/src/wrapped/wrappedsdl1.c
@@ -73,7 +73,7 @@ GO(4)
 static uintptr_t my_AudioCallback_fct_##A = 0;                                      \
 static void my_AudioCallback_##A(void *userdata, uint8_t *stream, int32_t len)      \
 {                                                                                   \
-    RunFunctionFmt(my_AudioCallback_fct_##A, "pCi", userdata, stream, len);   \
+    RunFunctionFmt(my_AudioCallback_fct_##A, "ppi", userdata, stream, len);   \
 }
 SUPER()
 #undef GO