switch to use SDL_PRI* macros for long long formatting everywhere.
This commit is contained in:
parent
7810d19812
commit
73daadb74e
9 changed files with 130 additions and 122 deletions
|
@ -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: %llu\n", (unsigned long long) SDL_GetPerformanceFrequency());
|
||||
SDL_Log("Performance counter frequency: %"PRIu64"\n", (unsigned long long) SDL_GetPerformanceFrequency());
|
||||
start32 = SDL_GetTicks();
|
||||
start = SDL_GetPerformanceCounter();
|
||||
SDL_Delay(1000);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue