Forgot to declare volatile stuff also in c file
authorPatrice Mandin <patmandin@gmail.com>
Thu, 11 May 2006 21:14:05 +0000
changeset 181963a45a87a57e
parent 1818 7995cc87b777
child 1820 133d55b02d51
Forgot to declare volatile stuff also in c file
src/audio/mint/SDL_mintaudio.c
     1.1 --- a/src/audio/mint/SDL_mintaudio.c	Thu May 11 21:03:23 2006 +0000
     1.2 +++ b/src/audio/mint/SDL_mintaudio.c	Thu May 11 21:14:05 2006 +0000
     1.3 @@ -42,9 +42,9 @@
     1.4  SDL_AudioDevice *SDL_MintAudio_device;
     1.5  Uint8 *SDL_MintAudio_audiobuf[2];	/* Pointers to buffers */
     1.6  unsigned long SDL_MintAudio_audiosize;		/* Length of audio buffer=spec->size */
     1.7 -unsigned short SDL_MintAudio_numbuf;		/* Buffer to play */
     1.8 -unsigned short SDL_MintAudio_mutex;
     1.9 -unsigned long SDL_MintAudio_clocktics;
    1.10 +volatile unsigned short SDL_MintAudio_numbuf;		/* Buffer to play */
    1.11 +volatile unsigned short SDL_MintAudio_mutex;
    1.12 +volatile unsigned long SDL_MintAudio_clocktics;
    1.13  cookie_stfa_t	*SDL_MintAudio_stfa;
    1.14  
    1.15  /* MiNT thread variables */