test/testtimer.c
changeset 1500 f58c88a4dff5
parent 1484 b2b476a4a73c
child 1615 d5298e8f22b3
equal deleted inserted replaced
1499:ad887c988713 1500:f58c88a4dff5
    25 	return(interval);
    25 	return(interval);
    26 }
    26 }
    27 
    27 
    28 static Uint32 callback(Uint32 interval, void *param)
    28 static Uint32 callback(Uint32 interval, void *param)
    29 {
    29 {
    30   printf("Timer %d : param = %d\n", interval, (int) param);
    30   printf("Timer %d : param = %d\n", interval, (uintptr_t)param);
    31   return interval;
    31   return interval;
    32 }
    32 }
    33 
    33 
    34 int main(int argc, char *argv[])
    34 int main(int argc, char *argv[])
    35 {
    35 {