Fixed bug in newlabel: assertion was wrong

This commit is contained in:
ceriel 1993-11-24 12:07:26 +00:00
parent 12bc7ed391
commit e30d27c418

View file

@ -90,7 +90,7 @@ register item_t *ip;
if (store(ip, (valu_t) DOTVAL) == 0)
return;
#ifdef THREE_PASS
assert(pass != PASS_2 || oldval - ip->i_valu == DOTGAIN);
assert(pass != PASS_2 || oldval - (ADDR_T) ip->i_valu == DOTGAIN);
#endif
}