comparison 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
comparison
equal deleted inserted replaced
646:00c54252fe4f 647:b39c14581166
75 { 75 {
76 void *next; 76 void *next;
77 }; 77 };
78 78
79 void * 79 void *
80 Blocktype_newf (size_t elsize) 80 Blocktype_newf (Memory_Count elsize)
81 { 81 {
82 Blocktype *b = xnew (Blocktype); 82 Blocktype *b = xnew (Blocktype);
83 b->elsize = max (elsize, sizeof (void *)); 83 b->elsize = max (elsize, (Memory_Count) sizeof (void *));
84 b->free = 0; 84 b->free = 0;
85 return (void *) b; 85 return (void *) b;
86 } 86 }
87 87
88 void 88 void