Skip to content

Commit

Permalink
Fixed compile error in timer test program if PRIu64 not available.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Dec 1, 2015
1 parent 1e2a443 commit 74de09a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testtimer.c
Expand Up @@ -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);
Expand Down

0 comments on commit 74de09a

Please sign in to comment.