fix unintended assignment

This commit is contained in:
Quentin Carbonneaux 2024-06-16 22:31:38 +02:00
parent ddf5ced4a7
commit b5be429091

View file

@ -754,7 +754,7 @@ amatch(Addr *a, Num *tn, Ref r, Fn *fn)
if (!req(rs, R)) {
assert(rtype(rs) == RCon);
c = &fn->con[rs.val];
assert(c->type = CBits);
assert(c->type == CBits);
s = c->bits.i;
}
ri = adisp(&co, tn, ri, fn, s);