Mercurial > sdl-ios-xcode
diff test/testtimer.c @ 1615:d5298e8f22b3
Ugh, more 64-bit cleanup
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 31 Mar 2006 06:27:47 +0000 |
parents | f58c88a4dff5 |
children | 14717b52abc0 |
line wrap: on
line diff
--- a/test/testtimer.c Fri Mar 31 06:16:20 2006 +0000 +++ b/test/testtimer.c Fri Mar 31 06:27:47 2006 +0000 @@ -12,13 +12,6 @@ static int ticks = 0; -/* Call this instead of exit(), so we can clean up SDL: atexit() is evil. */ -static void quit(int rc) -{ - SDL_Quit(); - exit(rc); -} - static Uint32 ticktock(Uint32 interval) { ++ticks; @@ -27,7 +20,7 @@ static Uint32 callback(Uint32 interval, void *param) { - printf("Timer %d : param = %d\n", interval, (uintptr_t)param); + printf("Timer %d : param = %d\n", interval, (int)(uintptr_t)param); return interval; }