From 94258c1466bb390d4e075e9aa8521a7da7f1ce3a Mon Sep 17 00:00:00 2001 From: Peter Reijnders Date: Tue, 14 Apr 2015 20:42:56 +0200 Subject: [PATCH] Reduced a sign-compare warning. --- ape_timers_next.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;