Browse code

Remove warning on Solaris

git-svn: trunk@1825

Nigel Horne authored on 2006/01/23 19:38:00
Showing 2 changed files
... ...
@@ -22,7 +22,7 @@
22 22
  *
23 23
  * For installation instructions see the file INSTALL that came with this file
24 24
  */
25
-static	char	const	rcsid[] = "$Id: clamav-milter.c,v 1.226 2005/12/22 17:15:24 nigelhorne Exp $";
25
+static	char	const	rcsid[] = "$Id: clamav-milter.c,v 1.227 2006/01/23 10:38:00 nigelhorne Exp $";
26 26
 
27 27
 #define	CM_VERSION	"devel-141205"
28 28
 
... ...
@@ -1024,7 +1024,7 @@ main(int argc, char **argv)
1024 1024
 		 */
1025 1025
 		if(statb.st_mode & 077) {
1026 1026
 			fprintf(stderr, _("%s: insecure quarantine directory %s (mode 0%o)\n"),
1027
-				argv[0], quarantine_dir, statb.st_mode & 0777);
1027
+				argv[0], quarantine_dir, (int)statb.st_mode & 0777);
1028 1028
 			return EX_CONFIG;
1029 1029
 		}
1030 1030
 	}
... ...
@@ -15,7 +15,7 @@
15 15
  *  along with this program; if not, write to the Free Software
16 16
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 17
  */
18
-static	char	const	rcsid[] = "$Id: uuencode.c,v 1.1 2006/01/17 17:30:17 nigelhorne Exp $";
18
+static	char	const	rcsid[] = "$Id: uuencode.c,v 1.2 2006/01/23 10:35:38 nigelhorne Exp $";
19 19
 
20 20
 #include "clamav.h"
21 21
 
... ...
@@ -23,6 +23,7 @@ static	char	const	rcsid[] = "$Id: uuencode.c,v 1.1 2006/01/17 17:30:17 nigelhorn
23 23
 #include "clamav-config.h"
24 24
 #endif
25 25
 
26
+#include <strings.h>
26 27
 #include <stdio.h>
27 28
 #include <memory.h>
28 29
 #include <sys/stat.h>