Skip to content

Commit

Permalink
haiku: Patched to compile.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jan 6, 2017
1 parent 3443dc1 commit 345c598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio/haiku/SDL_haikuaudio.cc
Expand Up @@ -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;
Expand Down

0 comments on commit 345c598

Please sign in to comment.