Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed Mar 27, 2024
1 parent be63e7c commit d352eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ir_emit_c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d352eb7

Please sign in to comment.