Fix warning

git-svn: trunk@1401
remotes/push_mirror/metadata
Nigel Horne 20 years ago
parent a62ae54fc1
commit 355a5d3f65
  1. 4
      clamav-devel/libclamav/blob.c

@ -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: blob.c,v 1.37 2005/03/16 14:44:40 nigelhorne Exp $";
static char const rcsid[] = "$Id: blob.c,v 1.38 2005/03/18 08:34:35 nigelhorne Exp $";
#if HAVE_CONFIG_H
#include "clamav-config.h"
@ -183,7 +183,7 @@ blobAddData(blob *b, const unsigned char *data, size_t len)
pagesize = 4096;
}
growth = pagesize;
if(len >= pagesize)
if(len >= (size_t)pagesize)
growth = ((len / pagesize) + 1) * pagesize;
/*printf("len %u, growth = %u\n", len, growth);*/

Loading…
Cancel
Save