From c87d3e1fb67d169f484e22f18572b5329f1267ee Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Thu, 4 Nov 2021 12:31:28 +0200 Subject: lua/uloop: use uloop_timeout_remaining64 We will deprecate uloop_timeout_remaining soon. Signed-off-by: Stijn Tintel Acked-by: Jo-Philipp Wich Acked-by: John Crispin --- lua/uloop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/uloop.c b/lua/uloop.c index ee82104..7e9ed10 100644 --- a/lua/uloop.c +++ b/lua/uloop.c @@ -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; } -- cgit v1.2.3