From d352eb74fdb78d8b16c14ad00fd753ac32521c4d Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 27 Mar 2024 11:59:26 +0300 Subject: [PATCH] fix typo --- ir_emit_c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir_emit_c.c b/ir_emit_c.c index 664ee459..114367a8 100644 --- a/ir_emit_c.c +++ b/ir_emit_c.c @@ -407,7 +407,7 @@ static void ir_emit_bitcast(ir_ctx *ctx, FILE *f, int def, ir_insn *insn) fprintf(f, " = _u.d;}\n"); } else { IR_ASSERT(insn->type == IR_FLOAT); - fprintf(f, "\t{union {float f; uint32_t bits;} _u; _u.buts = "); + fprintf(f, "\t{union {float f; uint32_t bits;} _u; _u.bits = "); ir_emit_ref(ctx, f, insn->op1); fprintf(f, "; "); ir_emit_ref(ctx, f, def);