changeset 1819:63a45a87a57e

Forgot to declare volatile stuff also in c file
author Patrice Mandin <patmandin@gmail.com>
date Thu, 11 May 2006 21:14:05 +0000
parents 7995cc87b777
children 133d55b02d51
files src/audio/mint/SDL_mintaudio.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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 */