projects
/
project
/
libubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3344157
)
lua/uloop: use uloop_timeout_remaining64
author
Stijn Tintel
<stijn@linux-ipv6.be>
Thu, 4 Nov 2021 10:31:28 +0000
(12:31 +0200)
committer
Stijn Tintel
<stijn@linux-ipv6.be>
Thu, 4 Nov 2021 11:05:29 +0000
(13:05 +0200)
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>
lua/uloop.c
patch
|
blob
|
history
diff --git
a/lua/uloop.c
b/lua/uloop.c
index ee82104a087af63b51ca3e4567c44c2d5f34c967..7e9ed1072bcff098af732f78ea4d097297737680 100644
(file)
--- 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_remaining
64
(&tout->t));
return 1;
}