Mercurial > sdl-ios-xcode
diff src/audio/macrom/SDL_romaudio.c @ 324:f25f666d609a
*** empty log message ***
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 30 Mar 2002 21:41:01 +0000 |
parents | b7e8038e40ae |
children | 25809353f877 |
line wrap: on
line diff
--- a/src/audio/macrom/SDL_romaudio.c Sat Mar 30 20:03:27 2002 +0000 +++ b/src/audio/macrom/SDL_romaudio.c Sat Mar 30 21:41:01 2002 +0000 @@ -147,7 +147,7 @@ return; /* Did we miss the chance to mix in an interrupt? Do it now. */ - if ( BitAndAtomic (0xFFFFFFFF, &need_to_mix) ) { + if ( BitAndAtomic (0xFFFFFFFF, (UInt32 *) &need_to_mix) ) { /* * Note that this could be a problem if you missed an interrupt * while the audio was locked, and get preempted by a second @@ -184,7 +184,7 @@ * if audio device isn't locked, mix the next buffer to be queued in * the memory block that just finished playing. */ - if ( ! BitAndAtomic(0xFFFFFFFF, &audio_is_locked) ) { + if ( ! BitAndAtomic(0xFFFFFFFF, (UInt32 *) &audio_is_locked) ) { mix_buffer (audio, buffer[fill_me]); }