lua/uloop: use uloop_timeout_remaining64

We will deprecate uloop_timeout_remaining soon.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Jo-Philipp Wich <jo@mein.io>
Acked-by: John Crispin <john@phrozen.org>
This commit is contained in:
Stijn Tintel 2021-11-04 12:31:28 +02:00
parent 3344157381
commit c87d3e1fb6

View file

@ -99,7 +99,7 @@ static int ul_timer_remaining(lua_State *L)
struct lua_uloop_timeout *tout;
tout = lua_touserdata(L, 1);
lua_pushnumber(L, uloop_timeout_remaining(&tout->t));
lua_pushnumber(L, uloop_timeout_remaining64(&tout->t));
return 1;
}