summaryrefslogtreecommitdiffhomepage
path: root/libs/nixio/src/nixio.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/nixio/src/nixio.c')
-rw-r--r--libs/nixio/src/nixio.c2
1 files changed, 1 insertions, 1 deletions
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 */