summaryrefslogtreecommitdiff
path: root/event.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-12-06 19:20:24 +0000
committerNick Mathewson <nickm@torproject.org>2007-12-06 19:20:24 +0000
commit77861fa7f177586d361059563987f691e8b7d143 (patch)
treecc1ea3f0af20f92cac1fcfe73f32451f7e84ad0a /event.c
parentcd666f8071baee5cc4834738253d82d86a5307a1 (diff)
downloadlibevent-77861fa7f177586d361059563987f691e8b7d143.tar.gz
r16931@catbus: nickm | 2007-12-06 14:19:58 -0500
Fix warnings in debug messages svn:r577
Diffstat (limited to 'event.c')
-rw-r--r--event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/event.c b/event.c
index be8ffd34..da8fc8df 100644
--- a/event.c
+++ b/event.c
@@ -719,7 +719,7 @@ event_add(struct event *ev, struct timeval *tv)
event_debug((
"event_add: timeout in %d seconds, call %p",
- tv->tv_sec, ev->ev_callback));
+ (int)tv->tv_sec, ev->ev_callback));
event_queue_insert(base, ev, EVLIST_TIMEOUT);
}
@@ -823,7 +823,7 @@ timeout_next(struct event_base *base, struct timeval **tv_p)
assert(tv->tv_sec >= 0);
assert(tv->tv_usec >= 0);
- event_debug(("timeout_next: in %d seconds", tv->tv_sec));
+ event_debug(("timeout_next: in %d seconds", (int)tv->tv_sec));
return (0);
}