mirror of
https://github.com/yawut/SDL.git
synced 2026-08-03 00:40:26 -05:00
Fixed compiler warning in testtimer.c
This commit is contained in:
parent
f6250318c6
commit
c88d5e0b60
|
|
@ -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…
Reference in New Issue
Block a user