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, ...@@ -306,7 +306,8 @@ static bool timer_list_check(const struct list_head *l,
if (abortstr) { if (abortstr) {
fprintf(stderr, fprintf(stderr,
"%s: timer %p %llu not %llu-%llu\n", "%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(); abort();
} }
return false; return false;
...@@ -315,7 +316,8 @@ static bool timer_list_check(const struct list_head *l, ...@@ -315,7 +316,8 @@ static bool timer_list_check(const struct list_head *l,
if (abortstr) { if (abortstr) {
fprintf(stderr, fprintf(stderr,
"%s: timer %p %llu < minimum %llu\n", "%s: timer %p %llu < minimum %llu\n",
abortstr, t, t->time, first); abortstr, t, (long long)t->time,
(long long)first);
abort(); abort();
} }
return false; 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