test/testtimer.c
changeset 1615 d5298e8f22b3
parent 1500 f58c88a4dff5
child 1659 14717b52abc0
     1.1 --- a/test/testtimer.c	Fri Mar 31 06:16:20 2006 +0000
     1.2 +++ b/test/testtimer.c	Fri Mar 31 06:27:47 2006 +0000
     1.3 @@ -12,13 +12,6 @@
     1.4  
     1.5  static int ticks = 0;
     1.6  
     1.7 -/* Call this instead of exit(), so we can clean up SDL: atexit() is evil. */
     1.8 -static void quit(int rc)
     1.9 -{
    1.10 -	SDL_Quit();
    1.11 -	exit(rc);
    1.12 -}
    1.13 -
    1.14  static Uint32 ticktock(Uint32 interval)
    1.15  {
    1.16  	++ticks;
    1.17 @@ -27,7 +20,7 @@
    1.18  
    1.19  static Uint32 callback(Uint32 interval, void *param)
    1.20  {
    1.21 -  printf("Timer %d : param = %d\n", interval, (uintptr_t)param);
    1.22 +  printf("Timer %d : param = %d\n", interval, (int)(uintptr_t)param);
    1.23    return interval;
    1.24  }
    1.25