summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author“pengxuanzheng” <[email protected]>2022-01-19 11:24:16 +0000
committer“pengxuanzheng” <[email protected]>2022-01-19 11:54:52 +0000
commitea9955755ff9e35f5acfdeefee20ea87d4d9a31d (patch)
treee2af928452b52795fecec1ce539eb00a807f46c5 /src
parent3488e3aba8008b0a3073a00e01332d872580779a (diff)
🧪 test: 增加googletest源码
Diffstat (limited to 'src')
-rw-r--r--src/tsg_lua_func.cpp2
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;