From: Stijn Tintel Date: Thu, 4 Nov 2021 11:41:19 +0000 (+0200) Subject: groups: use uloop_timeout_remaining64 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;p=project%2Fomcproxy.git groups: use uloop_timeout_remaining64 The uloop_timeout_remaining function is being deprecated. Signed-off-by: Stijn Tintel Acked-by: Jo-Philipp Wich --- diff --git a/src/groups.c b/src/groups.c index 38fa914..92f1db3 100644 --- a/src/groups.c +++ b/src/groups.c @@ -158,7 +158,7 @@ static omgp_time_t expire_group(struct groups *groups, struct group *group, // Rearm the global groups-timer if the next event is before timer expiration static void rearm_timer(struct groups *groups, int msecs) { - int remain = uloop_timeout_remaining(&groups->timer); + int64_t remain = uloop_timeout_remaining64(&groups->timer); if (remain < 0 || remain >= msecs) uloop_timeout_set(&groups->timer, msecs); }