Skip to content

Commit

Permalink
Fix code for riscv va_block_arg.
Browse files Browse the repository at this point in the history
  • Loading branch information
vnmakarov committed May 16, 2024
1 parent 30ac5a5 commit a29cd06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mir2c/mir2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ static void out_insn (MIR_context_t ctx, FILE *f, MIR_insn_t insn) {
out_op (ctx, f, ops[0]);
fprintf (f, " = (int64_t) va_arg(*(va_list *) ");
out_op (ctx, f, ops[1]);
va_arg (", void*);\n");
fprintf (f, ", void*);\n");
break;
}
#endif
Expand Down

0 comments on commit a29cd06

Please sign in to comment.