summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>2015-12-01 22:24:04 +0100
committerPhilipp Wiesemann <philipp.wiesemann@arcor.de>2015-12-01 22:24:04 +0100
commitf1d3b820924eeeaea2484bf5c9fd7ff60d8ac543 (patch)
tree947b5c0fd01174b89537988fcf9e713ea8ccd9b1
parent8f5f197236b8033a8f7fc5b0b60c4fe9a4ae0f92 (diff)
Fixed compile error in timer test program if PRIu64 not available.
-rw-r--r--test/testtimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testtimer.c b/test/testtimer.c
index 5d8d8c7f24..7540d55e1c 100644
--- a/test/testtimer.c
+++ b/test/testtimer.c
@@ -107,7 +107,7 @@ main(int argc, char *argv[])
now = SDL_GetPerformanceCounter();
SDL_Log("1 million iterations of ticktock took %f ms\n", (double)((now - start)*1000) / SDL_GetPerformanceFrequency());
- SDL_Log("Performance counter frequency: %"PRIu64"\n", (unsigned long long) SDL_GetPerformanceFrequency());
+ SDL_Log("Performance counter frequency: %"SDL_PRIu64"\n", (unsigned long long) SDL_GetPerformanceFrequency());
start32 = SDL_GetTicks();
start = SDL_GetPerformanceCounter();
SDL_Delay(1000);