From 74de09ad4ee5fa4b99a2c78591e8eaa74f920249 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Tue, 1 Dec 2015 22:24:04 +0100 Subject: [PATCH] Fixed compile error in timer test program if PRIu64 not available. --- test/testtimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testtimer.c b/test/testtimer.c index 5d8d8c7f243a1..7540d55e1cd40 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);