diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-12-06 19:20:24 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-12-06 19:20:24 +0000 |
commit | 77861fa7f177586d361059563987f691e8b7d143 (patch) | |
tree | cc1ea3f0af20f92cac1fcfe73f32451f7e84ad0a /event.c | |
parent | cd666f8071baee5cc4834738253d82d86a5307a1 (diff) | |
download | libevent-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |