Browse Source

Fixed compiler warning

Sam Lantinga 10 years ago
parent
commit
de1b22e74e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/testatomic.c

+ 1 - 1
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);
 }