From f0f5c379513ada7482aa4ead08df1043e9c7d267 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sat, 3 Aug 2019 13:41:33 +1200 Subject: Enable -Wall and -Wextra, fix warnings --- output_asm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'output_asm.c') diff --git a/output_asm.c b/output_asm.c index b1ccfc9..fd9f792 100644 --- a/output_asm.c +++ b/output_asm.c @@ -46,7 +46,7 @@ void emit_single_ji_type(FILE *f, struct ji_type inst) { const char *cond = get_asm_from_j(inst.cond); - fprintf(f, "%s %s\n", cond, inst.imm.value); + fprintf(f, "%s 0x%x\n", cond, inst.imm.value); } void emit_single_jr_type(FILE *f, struct jr_type inst) -- cgit v1.1