diff options
| author | âpengxuanzhengâ <[email protected]> | 2022-01-19 11:24:16 +0000 |
|---|---|---|
| committer | âpengxuanzhengâ <[email protected]> | 2022-01-19 11:54:52 +0000 |
| commit | ea9955755ff9e35f5acfdeefee20ea87d4d9a31d (patch) | |
| tree | e2af928452b52795fecec1ce539eb00a807f46c5 /src | |
| parent | 3488e3aba8008b0a3073a00e01332d872580779a (diff) | |
𧪠test: å¢å googletestæºç
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; |
