From e2fbea32c10233f2a24dd105de77187f9e64653b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=B6r=C3=B6k=20Edvin?= Date: Wed, 27 Jan 2010 15:56:13 +0200 Subject: [PATCH] fix distcheck warnings. --- clamd/others.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clamd/others.c b/clamd/others.c index f47e8a30c..91f9ffdeb 100644 --- a/clamd/others.c +++ b/clamd/others.c @@ -283,20 +283,20 @@ static int read_fd_data(struct fd_buf *buf) if (n < 0) return -1; if (msg.msg_flags & MSG_TRUNC) { - logg("^Message truncated at %d bytes\n", n); + logg("^Message truncated at %d bytes\n", (int)n); return -1; } if (msg.msg_flags & MSG_CTRUNC) { if (msg.msg_controllen > 0) logg("^Control message truncated at %d bytes, %d data read\n", - msg.msg_controllen, n); + (int)msg.msg_controllen, (int)n); else logg("^Control message truncated, no control data received, %d bytes read" #ifdef C_LINUX "(Is SELinux/AppArmor enabled, and blocking file descriptor passing?)" #endif "\n", - n); + (int)n); return -1; } if (msg.msg_controllen) {