corrected assertions

This commit is contained in:
ceriel 1989-10-24 12:58:23 +00:00
parent 1ce56a4e78
commit 95cfd33824
2 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@ link_free_chunk(ml)
register unsigned int n = size_of(ml);
register mallink *ml1;
assert(n < (1 << LOG_MAX_SIZE));
assert(n < (1L << LOG_MAX_SIZE));
do {
n >>= 1;
@ -61,7 +61,7 @@ unlink_free_chunk(ml)
register mallink **mlp = &free_list[-1];
register unsigned int n = size_of(ml);
assert(n < (1 << LOG_MAX_SIZE));
assert(n < (1L << LOG_MAX_SIZE));
do {
n >>= 1;
mlp++;

View file

@ -68,7 +68,7 @@ malloc(n)
*/
register unsigned int n1 = n;
assert(n1 < (1 << LOG_MAX_SIZE));
assert(n1 < (1L << LOG_MAX_SIZE));
min_class = 0;
do {