Fixed compile error in timer test program if PRIu64 not available.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Tue, 01 Dec 2015 22:24:04 +0100
changeset 99396ccf11a01cb5
parent 9938 c1bdce8e9c64
child 9940 f2d5ed0d9686
Fixed compile error in timer test program if PRIu64 not available.
test/testtimer.c
     1.1 --- a/test/testtimer.c	Tue Dec 01 22:22:58 2015 +0100
     1.2 +++ b/test/testtimer.c	Tue Dec 01 22:24:04 2015 +0100
     1.3 @@ -107,7 +107,7 @@
     1.4      now = SDL_GetPerformanceCounter();
     1.5      SDL_Log("1 million iterations of ticktock took %f ms\n", (double)((now - start)*1000) / SDL_GetPerformanceFrequency());
     1.6  
     1.7 -    SDL_Log("Performance counter frequency: %"PRIu64"\n", (unsigned long long) SDL_GetPerformanceFrequency());
     1.8 +    SDL_Log("Performance counter frequency: %"SDL_PRIu64"\n", (unsigned long long) SDL_GetPerformanceFrequency());
     1.9      start32 = SDL_GetTicks();
    1.10      start = SDL_GetPerformanceCounter();
    1.11      SDL_Delay(1000);