diff src/gmalloc.c @ 647:b39c14581166

[xemacs-hg @ 2001-08-13 04:45:47 by ben] removal of unsigned, size_t, etc.
author ben
date Mon, 13 Aug 2001 04:46:48 +0000
parents e9a3f8b4de53
children 943eaba38521
line wrap: on
line diff
--- a/src/gmalloc.c	Wed Aug 08 12:15:04 2001 +0000
+++ b/src/gmalloc.c	Mon Aug 13 04:46:48 2001 +0000
@@ -869,7 +869,8 @@
       prev = (struct list *) ((char *) ADDRESS (block) +
 			   (_heapinfo[block].busy.info.frag.first << type));
 
-      if (_heapinfo[block].busy.info.frag.nfree == (BLOCKSIZE >> type) - 1)
+      if (_heapinfo[block].busy.info.frag.nfree ==
+	   (__malloc_size_t) ((BLOCKSIZE >> type) - 1))
 	{
 	  /* If all fragments of this block are free, remove them
 	     from the fragment list and free the whole block.  */