From 2b67279071b4fded5d9381e09cbf39cce56562c4 Mon Sep 17 00:00:00 2001 From: 彭宣正 Date: Thu, 8 Sep 2022 11:08:57 +0800 Subject: ✨ feat(TSG-11870): 修改写错的error message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/elua_func.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3