fixed wrong assertion

This commit is contained in:
eck 1990-03-21 13:33:14 +00:00
parent df33f1eeff
commit 0296dc2371
2 changed files with 2 additions and 2 deletions

View file

@ -96,7 +96,6 @@ malloc(n)
} }
p = SBRK((int)req); p = SBRK((int)req);
assert((size_type)p == align((size_type)p));
if (p == ILL_BREAK) { if (p == ILL_BREAK) {
req = n + mallink_size(); req = n + mallink_size();
p = SBRK((int)req); p = SBRK((int)req);
@ -127,6 +126,7 @@ malloc(n)
#endif STORE #endif STORE
} }
else { else {
assert((size_type)p == align((size_type)p));
ml = create_chunk(p, req); ml = create_chunk(p, req);
} }
check_mallinks("suitable_chunk, extended"); check_mallinks("suitable_chunk, extended");