aboutsummaryrefslogtreecommitdiff
path: root/tests/openal_buffers.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/openal_buffers.c')
-rw-r--r--tests/openal_buffers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/openal_buffers.c b/tests/openal_buffers.c
index 6f51a685..31104a33 100644
--- a/tests/openal_buffers.c
+++ b/tests/openal_buffers.c
@@ -26,7 +26,7 @@ unsigned int bits = 0;
ALenum format = 0;
ALuint source = 0;
-void iter(void *arg) {
+void iter() {
ALuint buffer = 0;
ALint buffersProcessed = 0;
ALint buffersWereQueued = 0;
@@ -180,7 +180,7 @@ int main(int argc, char* argv[]) {
emscripten_set_main_loop(iter, 0, 0);
#else
while (1) {
- iter(NULL);
+ iter();
usleep(16);
}
#endif