fix: assertion was wrong

This commit is contained in:
ceriel 1988-09-02 13:52:11 +00:00
parent feb6e7505c
commit 83b92a8af2

View file

@ -112,7 +112,7 @@ STATIC int makedmap(dbl)
for (d = dbl; d != (dblock_p) 0; d = d->d_next) cnt++;
dmap = (dblock_p *) newmap(cnt);
for (d = dbl; d != (dblock_p) 0; d = d->d_next) {
assert(d->d_id) <= cnt;
assert(d->d_id <= cnt);
dmap[d->d_id] = d;
}
return cnt;