# HG changeset patch # User Patrice Mandin # Date 1181339095 0 # Node ID 502ae1f2a577a231bdeeac21acc0319cfa71223f # Parent 4794e6f90feba9e19f1809b80a43809153ff5d42 Set supervisor as volatile as it is modified from an interrupt diff -r 4794e6f90feb -r 502ae1f2a577 src/timer/mint/SDL_systimer.c --- a/src/timer/mint/SDL_systimer.c Mon Jun 04 11:45:10 2007 +0000 +++ b/src/timer/mint/SDL_systimer.c Fri Jun 08 21:44:55 2007 +0000 @@ -53,7 +53,7 @@ /* The first ticks value of the application */ static Uint32 start; -static SDL_bool supervisor; +static volatile SDL_bool supervisor; static int mint_present; /* can we use Syield() ? */ void