diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/common/compat_libevent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat_libevent.c b/src/common/compat_libevent.c index cf3b7298c2..56ee682fde 100644 --- a/src/common/compat_libevent.c +++ b/src/common/compat_libevent.c @@ -269,7 +269,7 @@ periodic_timer_launch(periodic_timer_t *timer, const struct timeval *tv) tor_assert(timer); if (event_pending(timer->ev, EV_TIMEOUT, NULL)) return; - event_add(timer->ev, (struct timeval *)tv); /*drop const for old libevent*/ + event_add(timer->ev, tv); } /** |