diff options
| author | 彭宣正 <[email protected]> | 2022-09-08 11:08:57 +0800 |
|---|---|---|
| committer | 彭宣正 <[email protected]> | 2022-09-08 11:14:02 +0800 |
| commit | 2b67279071b4fded5d9381e09cbf39cce56562c4 (patch) | |
| tree | 7241427098fdb1b7c87899c820c6f0584869ddb3 /src/elua_func.cpp | |
| parent | a65fe5ff548f48b26d96bcc62e2b6ed1c12371e8 (diff) | |
✨ feat(TSG-11870): 修改写错的error message
Diffstat (limited to 'src/elua_func.cpp')
| -rw-r--r-- | src/elua_func.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elua_func.cpp b/src/elua_func.cpp index 78f5508..508063a 100644 --- a/src/elua_func.cpp +++ b/src/elua_func.cpp @@ -1141,7 +1141,7 @@ static int elua_vm_return_value(lua_State *L, struct elua_data *output, char *er if (actual_ret_type != output->type) { - snprintf(errmsg, 1023, "[%s:%d] expect out_type is %d, actual out_type is:%zu.", __FUNCTION__, __LINE__, output->type, lua_ret_type); + snprintf(errmsg, 1023, "[%s:%d] expect out_type is %d, actual out_type is:%d.", __FUNCTION__, __LINE__, output->type, actual_ret_type); output->type = actual_ret_type; return -1; } |
