Mercurial > hg > xemacs-beta
diff src/blocktype.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 | 3ecd8885ac67 |
children | fdefd0186b75 |
line wrap: on
line diff
--- a/src/blocktype.c Wed Aug 08 12:15:04 2001 +0000 +++ b/src/blocktype.c Mon Aug 13 04:46:48 2001 +0000 @@ -77,10 +77,10 @@ }; void * -Blocktype_newf (size_t elsize) +Blocktype_newf (Memory_Count elsize) { Blocktype *b = xnew (Blocktype); - b->elsize = max (elsize, sizeof (void *)); + b->elsize = max (elsize, (Memory_Count) sizeof (void *)); b->free = 0; return (void *) b; }