diff --git a/src/util-lua-common.c b/src/util-lua-common.c index 833e47b714..0d46efad67 100644 --- a/src/util-lua-common.c +++ b/src/util-lua-common.c @@ -790,10 +790,10 @@ static int LuaCallbackFileInfoPushToStackFromFile(lua_State *luastate, const Fil } } - lua_pushnumber(luastate, file->file_store_id); - lua_pushnumber(luastate, file->txid); + lua_pushinteger(luastate, file->file_store_id); + lua_pushinteger(luastate, file->txid); lua_pushlstring(luastate, (char *)file->name, file->name_len); - lua_pushnumber(luastate, FileTrackedSize(file)); + lua_pushinteger(luastate, FileTrackedSize(file)); lua_pushstring (luastate, #ifdef HAVE_MAGIC file->magic