projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc8acdb
)
timer: fix abortstring on 64 bit platforms.
author
Rusty Russell
<rusty@rustcorp.com.au>
Thu, 12 Dec 2013 04:56:50 +0000
(15:26 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Thu, 12 Dec 2013 04:56:50 +0000
(15:26 +1030)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/timer/timer.c
patch
|
blob
|
history
diff --git
a/ccan/timer/timer.c
b/ccan/timer/timer.c
index 991ec643926f330a897ba383265343f1ae280e65..cf3bfd9d1edada106c9c5d0e24126e83a7a47e5c 100644
(file)
--- 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;