# HG changeset patch # User Patrice Mandin # Date 1147382045 0 # Node ID 63a45a87a57ec9c978604a136cd1ea49a18bfcb6 # Parent 7995cc87b7773fc60b3bd18bea3fc5a02f202596 Forgot to declare volatile stuff also in c file diff -r 7995cc87b777 -r 63a45a87a57e src/audio/mint/SDL_mintaudio.c --- a/src/audio/mint/SDL_mintaudio.c Thu May 11 21:03:23 2006 +0000 +++ b/src/audio/mint/SDL_mintaudio.c Thu May 11 21:14:05 2006 +0000 @@ -42,9 +42,9 @@ SDL_AudioDevice *SDL_MintAudio_device; Uint8 *SDL_MintAudio_audiobuf[2]; /* Pointers to buffers */ unsigned long SDL_MintAudio_audiosize; /* Length of audio buffer=spec->size */ -unsigned short SDL_MintAudio_numbuf; /* Buffer to play */ -unsigned short SDL_MintAudio_mutex; -unsigned long SDL_MintAudio_clocktics; +volatile unsigned short SDL_MintAudio_numbuf; /* Buffer to play */ +volatile unsigned short SDL_MintAudio_mutex; +volatile unsigned long SDL_MintAudio_clocktics; cookie_stfa_t *SDL_MintAudio_stfa; /* MiNT thread variables */