Re: [OpenWrt-Devel] [PATCH] ubus: lua binding does not allow a reply with 64 bit numbers

2020-03-15 Thread Jo-Philipp Wich
Hi, applied with slight changes in https://git.openwrt.org/?p=project/ubus.git;a=commitdiff;h=171469e3138cce191892e20b6fd35b52c9368064 - thanks! ~ Jo signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list

[OpenWrt-Devel] [PATCH] ubus: lua binding does not allow a reply with 64 bit numbers

2020-02-03 Thread Alin Nastac
Numbers originated from lua bindings get explicitly truncated to 32 bit. Signed-off-by: Alin Nastac --- lua/ubus.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lua/ubus.c b/lua/ubus.c index 86dcc50..aa01ac9 100644 --- a/lua/ubus.c +++ b/lua/ubus.c @@ -196,7 +196,11