Remove warning on Solaris

git-svn: trunk@1825
remotes/push_mirror/metadata
Nigel Horne 20 years ago
parent a43dd3cd2a
commit 69d29ed134
  1. 4
      clamav-devel/clamav-milter/clamav-milter.c
  2. 3
      clamav-devel/libclamav/uuencode.c

@ -22,7 +22,7 @@
*
* For installation instructions see the file INSTALL that came with this file
*/
static char const rcsid[] = "$Id: clamav-milter.c,v 1.226 2005/12/22 17:15:24 nigelhorne Exp $";
static char const rcsid[] = "$Id: clamav-milter.c,v 1.227 2006/01/23 10:38:00 nigelhorne Exp $";
#define CM_VERSION "devel-141205"
@ -1024,7 +1024,7 @@ main(int argc, char **argv)
*/
if(statb.st_mode & 077) {
fprintf(stderr, _("%s: insecure quarantine directory %s (mode 0%o)\n"),
argv[0], quarantine_dir, statb.st_mode & 0777);
argv[0], quarantine_dir, (int)statb.st_mode & 0777);
return EX_CONFIG;
}
}

@ -15,7 +15,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
static char const rcsid[] = "$Id: uuencode.c,v 1.1 2006/01/17 17:30:17 nigelhorne Exp $";
static char const rcsid[] = "$Id: uuencode.c,v 1.2 2006/01/23 10:35:38 nigelhorne Exp $";
#include "clamav.h"
@ -23,6 +23,7 @@ static char const rcsid[] = "$Id: uuencode.c,v 1.1 2006/01/17 17:30:17 nigelhorn
#include "clamav-config.h"
#endif
#include <strings.h>
#include <stdio.h>
#include <memory.h>
#include <sys/stat.h>

Loading…
Cancel
Save