diff --git a/ape_timers_next.c b/ape_timers_next.c index dba4bc5..b7c9726 100644 --- a/ape_timers_next.c +++ b/ape_timers_next.c @@ -120,12 +120,12 @@ int process_timers(ape_timers *timers) } if ((start = mach_absolute_time()) >= cur->schedule-150000) { - uint64_t ret; + int ret; unsigned int duration; ret = cur->callback(cur->arg); - //printf("Timer returned %lld\n", ret); + //printf("Timer returned %d\n", ret); if (ret == -1) { cur->schedule = start + cur->ticks_needs;