haiku: Patched to compile.
--HG-- extra : rebase_source : 358fa3054f6c237605fd57c64adf42dd0beeabdd
This commit is contained in:
parent
2373e22054
commit
82b913d92c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue