summaryrefslogtreecommitdiff
path: root/core/src/xmake/io/socket_recv.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/xmake/io/socket_recv.c')
-rw-r--r--core/src/xmake/io/socket_recv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/io/socket_recv.c b/core/src/xmake/io/socket_recv.c
index aefdfc485..e3bd2dfed 100644
--- a/core/src/xmake/io/socket_recv.c
+++ b/core/src/xmake/io/socket_recv.c
@@ -69,7 +69,7 @@ tb_int_t xm_io_socket_recv(lua_State* lua)
if (size <= 0)
{
lua_pushinteger(lua, -1);
- lua_pushfstring(lua, "invalid size(%ld)!", size);
+ lua_pushfstring(lua, "invalid size(%d)!", (tb_int_t)size);
return 2;
}