X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftimer%2Ftimer.c;h=cf3bfd9d1edada106c9c5d0e24126e83a7a47e5c;hb=8f6c40bce722642ff7e253a675b8ce6cd7e7a091;hp=991ec643926f330a897ba383265343f1ae280e65;hpb=fc8acdbbe2484794aa3c3bea8c00f0de80e48811;p=ccan diff --git a/ccan/timer/timer.c b/ccan/timer/timer.c index 991ec643..cf3bfd9d 100644 --- a/ccan/timer/timer.c +++ b/ccan/timer/timer.c @@ -306,7 +306,8 @@ static bool timer_list_check(const struct list_head *l, if (abortstr) { fprintf(stderr, "%s: timer %p %llu not %llu-%llu\n", - abortstr, t, t->time, min, max); + abortstr, t, (long long)t->time, + (long long)min, (long long)max); abort(); } return false; @@ -315,7 +316,8 @@ static bool timer_list_check(const struct list_head *l, if (abortstr) { fprintf(stderr, "%s: timer %p %llu < minimum %llu\n", - abortstr, t, t->time, first); + abortstr, t, (long long)t->time, + (long long)first); abort(); } return false;