Commit 8f6c40bc authored by Rusty Russell's avatar Rusty Russell

timer: fix abortstring on 64 bit platforms.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent fc8acdbb
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment