summaryrefslogtreecommitdiff
path: root/src/elua_func.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/elua_func.cpp')
-rw-r--r--src/elua_func.cpp2
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;
}