haiku: Patched to compile.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 06 Jan 2017 03:15:27 -0500
changeset 1076873dfaab7e779
parent 10767 b6046389b839
child 10769 703e501cd0a6
haiku: Patched to compile.
src/audio/haiku/SDL_haikuaudio.cc
     1.1 --- a/src/audio/haiku/SDL_haikuaudio.cc	Thu Jan 05 23:53:46 2017 -0800
     1.2 +++ b/src/audio/haiku/SDL_haikuaudio.cc	Fri Jan 06 03:15:27 2017 -0500
     1.3 @@ -63,7 +63,7 @@
     1.4  
     1.5      if (audio->stream == NULL) {  /* no conversion necessary. */
     1.6          SDL_LockMutex(audio->mixer_lock);
     1.7 -        callback(audio->spec.userdata, stream, len);
     1.8 +        callback(audio->spec.userdata, (Uint8 *) stream, len);
     1.9          SDL_UnlockMutex(audio->mixer_lock);
    1.10      } else {  /* streaming/converting */
    1.11          const int stream_len = audio->callbackspec.size;