summaryrefslogtreecommitdiffstats
path: root/ctl-lib/ctl-lua.c
diff options
context:
space:
mode:
Diffstat (limited to 'ctl-lib/ctl-lua.c')
-rw-r--r--ctl-lib/ctl-lua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctl-lib/ctl-lua.c b/ctl-lib/ctl-lua.c
index ac2b499..696a5de 100644
--- a/ctl-lib/ctl-lua.c
+++ b/ctl-lib/ctl-lua.c
@@ -132,7 +132,7 @@ static int LuaPushArgument(CtlSourceT *source, json_object *argsJ) {
break;
}
case json_type_int:
- lua_pushinteger(luaState, json_object_get_int(argsJ));
+ lua_pushinteger(luaState, json_object_get_int64(argsJ));
break;
case json_type_string:
lua_pushstring(luaState, json_object_get_string(argsJ));