diff options
author | Bob Pendleton <bob@pendleton.com> | 2009-07-09 21:31:27 +0000 |
---|---|---|
committer | Bob Pendleton <bob@pendleton.com> | 2009-07-09 21:31:27 +0000 |
commit | ea34a467e69e7220c8a98f35bc94753dad543d65 (patch) | |
tree | bfb4bf2847991f9f58c958fc2182dac8ab2b6c4d /test/testatomic.c | |
parent | bff42a6b709c3b60c6d008ca7c7dd6a3caf4d11d (diff) | |
download | sdl-ea34a467e69e7220c8a98f35bc94753dad543d65.tar.gz |
volitile... duh, yeah the variable need to be labeled volitile
Diffstat (limited to 'test/testatomic.c')
-rw-r--r-- | test/testatomic.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/testatomic.c b/test/testatomic.c index a4fc0f08c..683c0e778 100644 --- a/test/testatomic.c +++ b/test/testatomic.c @@ -23,16 +23,16 @@ int main(int argc, char **argv) { - Uint8 val8 = 0; + volatile Uint8 val8 = 0; Uint8 ret8 = 0; - Uint16 val16 = 0; + volatile Uint16 val16 = 0; Uint16 ret16 = 0; - Uint32 val32 = 0; + volatile Uint32 val32 = 0; Uint32 ret32 = 0; - Uint64 val64 = 0; + volatile Uint64 val64 = 0; Uint64 ret64 = 0; SDL_bool tfret = SDL_FALSE; |