From b5be429091ecc26a5f4f6df777aa99655f868f2a Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Sun, 16 Jun 2024 22:31:38 +0200 Subject: [PATCH] fix unintended assignment --- amd64/isel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amd64/isel.c b/amd64/isel.c index b94392e..2b92878 100644 --- a/amd64/isel.c +++ b/amd64/isel.c @@ -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); -- 2.11.4.GIT