Fixed compile error in timer test program if PRIu64 not available.

This commit is contained in:
Philipp Wiesemann 2015-12-01 22:24:04 +01:00
parent 1e2a4439a3
commit 74de09ad4e
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ main(int argc, char *argv[])
now = SDL_GetPerformanceCounter(); now = SDL_GetPerformanceCounter();
SDL_Log("1 million iterations of ticktock took %f ms\n", (double)((now - start)*1000) / SDL_GetPerformanceFrequency()); 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(); start32 = SDL_GetTicks();
start = SDL_GetPerformanceCounter(); start = SDL_GetPerformanceCounter();
SDL_Delay(1000); SDL_Delay(1000);