Commit de1b22e74e7d4d60cbe6d29cd41d9d621732acb9

Sam Lantinga 2014-07-07T10:39:02

Fixed compiler warning

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/test/testatomic.c b/test/testatomic.c
index 45e5b69..662a017 100644
--- a/test/testatomic.c
+++ b/test/testatomic.c
@@ -700,7 +700,7 @@ static void RunFIFOTest(SDL_bool lock_free)
         }
         len = SDL_strlen(textBuffer);
         SDL_snprintf(textBuffer + len, sizeof(textBuffer) - len, " }\n");
-		SDL_Log(textBuffer);
+		SDL_Log("%s", textBuffer);
     }
     SDL_Log("Readers read %d total events\n", grand_total);
 }