From 64d9a00a9934cd06401f4b9ec2e14950a4423a87 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 26 Oct 2009 04:52:07 +0000 Subject: nixio: store stats and other number information as integer, which works better when lua number support is downgraded from double to float --- libs/nixio/src/nixio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/nixio/src/nixio.c') diff --git a/libs/nixio/src/nixio.c b/libs/nixio/src/nixio.c index 5749b3bfbf..3086b978b3 100644 --- a/libs/nixio/src/nixio.c +++ b/libs/nixio/src/nixio.c @@ -147,7 +147,7 @@ NIXIO_API int luaopen_nixio(lua_State *L) { nixio_open_tls_socket(L); /* module version */ - lua_pushnumber(L, VERSION); + lua_pushinteger(L, VERSION); lua_setfield(L, -2, "version"); /* some constants */ -- cgit v1.2.3