summaryrefslogtreecommitdiff
path: root/test/testtimer.c
diff options
context:
space:
mode:
authorRyan C. Gordon <icculus@icculus.org>2013-07-14 13:25:49 -0400
committerRyan C. Gordon <icculus@icculus.org>2013-07-14 13:25:49 -0400
commit450f022d3a32d61ab0a97d3bf9f6ca244a28244e (patch)
tree1e9fcd9674e6e8c790023a96aa66aea52f9f0f0c /test/testtimer.c
parent7f6cad97bf7f2d454feec04ec4f96dc1583bba37 (diff)
downloadsdl-450f022d3a32d61ab0a97d3bf9f6ca244a28244e.tar.gz
Fixed compiler warning in testtimer.c
Diffstat (limited to 'test/testtimer.c')
-rw-r--r--test/testtimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testtimer.c b/test/testtimer.c
index 87264b19d..e0d0c3e61 100644
--- a/test/testtimer.c
+++ b/test/testtimer.c
@@ -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);