git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@1445 77e5149b-7576-45b1-b177-96237e5ba77b

Nigel Horne authored on 2005/03/28 17:15:41
Showing 1 changed files
... ...
@@ -24,7 +24,7 @@
24 24
  *
25 25
  * For installation instructions see the file INSTALL that came with this file
26 26
  */
27
-static	char	const	rcsid[] = "$Id: clamav-milter.c,v 1.189 2005/03/18 08:41:42 nigelhorne Exp $";
27
+static	char	const	rcsid[] = "$Id: clamav-milter.c,v 1.190 2005/03/28 08:15:41 nigelhorne Exp $";
28 28
 
29 29
 #define	CM_VERSION	"0.84c"
30 30
 
... ...
@@ -3579,7 +3579,7 @@ connect2clamd(struct privdata *privdata)
3579 3579
 			freeServer = findServer();
3580 3580
 			if(freeServer < 0)
3581 3581
 				return 0;
3582
-			assert(freeServer < max_children);
3582
+			assert(freeServer < (int)max_children);
3583 3583
 #else
3584 3584
 			struct sockaddr_in server;
3585 3585
 
... ...
@@ -3592,7 +3592,7 @@ connect2clamd(struct privdata *privdata)
3592 3592
 			freeServer = findServer();
3593 3593
 			if(freeServer < 0)
3594 3594
 				return 0;
3595
-			assert(freeServer < max_children);
3595
+			assert(freeServer < (int)max_children);
3596 3596
 
3597 3597
 			server.sin_addr.s_addr = serverIPs[freeServer];
3598 3598