Fixed compiler warning in testtimer.c
This commit is contained in:
parent
37bb3c5354
commit
4e5bd8491f
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ main(int argc, char *argv[])
|
|||
now = SDL_GetPerformanceCounter();
|
||||
printf("1 million iterations of ticktock took %f ms\n", (double)((now - start)*1000) / SDL_GetPerformanceFrequency());
|
||||
|
||||
printf("Performance counter frequency: %lld\n", SDL_GetPerformanceFrequency());
|
||||
printf("Performance counter frequency: %llu\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