From: Vsevolod Stakhov Date: Sun, 21 Jul 2019 17:46:09 +0000 (+0100) Subject: [Minor] iov_len is size_t on Linux and int on osx X-Git-Tag: 2.0~526 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b202c9e2fd6104e6d3edd8d5ec3142bc73500d6;p=thirdparty%2Frspamd.git [Minor] iov_len is size_t on Linux and int on osx --- diff --git a/src/lua/lua_tcp.c b/src/lua/lua_tcp.c index c03d13acf6..226f48cc5a 100644 --- a/src/lua/lua_tcp.c +++ b/src/lua/lua_tcp.c @@ -825,8 +825,8 @@ lua_tcp_write_helper (struct lua_tcp_cbdata *cbd) flags = MSG_NOSIGNAL; #endif - msg_debug_tcp ("want write %d io vectors of %d", msg.msg_iovlen, - niov); + msg_debug_tcp ("want write %d io vectors of %d", (int)msg.msg_iovlen, + (int)niov); if (cbd->ssl_conn) { r = rspamd_ssl_writev (cbd->ssl_conn, msg.msg_iov, msg.msg_iovlen);