diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/tsg_lua_func.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tsg_lua_func.cpp b/src/tsg_lua_func.cpp index dd18a68..f59fbbc 100644 --- a/src/tsg_lua_func.cpp +++ b/src/tsg_lua_func.cpp @@ -695,7 +695,7 @@ int tsg_lua_exec_file(tsg_lua_handle lua, const char *script, const char *in, si *out_type = BOOLEAN; break; case LUA_TNUMBER: - *(long size_t *)out = lua_tointeger(L, -1); + *(long *)out = lua_tointeger(L, -1); //*out_len = 8; *out_type = INTEGER; break; |
