test/testatomic.c
changeset 3216 48a80f2a7ff2
parent 3202 3aa519a5c676
child 3237 916f396fe65d
     1.1 --- a/test/testatomic.c	Tue Jul 07 14:02:57 2009 +0000
     1.2 +++ b/test/testatomic.c	Thu Jul 09 21:31:27 2009 +0000
     1.3 @@ -23,16 +23,16 @@
     1.4  main(int argc, char **argv)
     1.5  {
     1.6  
     1.7 -   Uint8 val8 = 0;
     1.8 +   volatile Uint8 val8 = 0;
     1.9     Uint8 ret8 = 0;
    1.10  
    1.11 -   Uint16 val16 = 0;
    1.12 +   volatile Uint16 val16 = 0;
    1.13     Uint16 ret16 = 0;
    1.14  
    1.15 -   Uint32 val32 = 0;
    1.16 +   volatile Uint32 val32 = 0;
    1.17     Uint32 ret32 = 0;
    1.18  
    1.19 -   Uint64 val64 = 0;
    1.20 +   volatile Uint64 val64 = 0;
    1.21     Uint64 ret64 = 0;
    1.22  
    1.23     SDL_bool tfret = SDL_FALSE;