fix: assertion was wrong

This commit is contained in:
ceriel 1988-09-02 13:52:11 +00:00
parent a20ee91475
commit 1a8129513d

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;