From 345c5989f12133ed13502b9867ae5f4d4298c601 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 6 Jan 2017 03:15:27 -0500 Subject: [PATCH] haiku: Patched to compile. --- src/audio/haiku/SDL_haikuaudio.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/haiku/SDL_haikuaudio.cc b/src/audio/haiku/SDL_haikuaudio.cc index b8a7d1a82..1b0db6be8 100644 --- a/src/audio/haiku/SDL_haikuaudio.cc +++ b/src/audio/haiku/SDL_haikuaudio.cc @@ -63,7 +63,7 @@ FillSound(void *device, void *stream, size_t len, if (audio->stream == NULL) { /* no conversion necessary. */ SDL_LockMutex(audio->mixer_lock); - callback(audio->spec.userdata, stream, len); + callback(audio->spec.userdata, (Uint8 *) stream, len); SDL_UnlockMutex(audio->mixer_lock); } else { /* streaming/converting */ const int stream_len = audio->callbackspec.size;