[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6156-g094ec9b

Török Edvin edwin at clamav.net
Sun Apr 4 01:17:37 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit e2fbea32c10233f2a24dd105de77187f9e64653b
Author: Török Edvin <edwin at clamav.net>
Date:   Wed Jan 27 15:56:13 2010 +0200

    fix distcheck warnings.

diff --git a/clamd/others.c b/clamd/others.c
index f47e8a3..91f9ffd 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) {

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list