Skip to content

Commit

Permalink
Fix error in format string in validate_reg_operand
Browse files Browse the repository at this point in the history
Thanks to MasterDuke++ for pointing this out!
  • Loading branch information
niner committed Nov 3, 2018
1 parent 4fbaeee commit 255bf8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/validation.c
Expand Up @@ -292,7 +292,7 @@ static void validate_reg_operand(Validator *val, MVMuint32 flags) {
}

if (reg_type != operand_type)
fail(val, MSG(val, "operand type %PRIu32 does not match register type %PRIu32 for op %s in frame %s"),
fail(val, MSG(val, "operand type %" PRIu32 " does not match register type %" PRIu32 " for op %s in frame %s"),
operand_type, reg_type, val->cur_info->name, MVM_string_utf8_maybe_encode_C_string(val->tc, val->frame->body.name));

next_operand:
Expand Down

0 comments on commit 255bf8a

Please sign in to comment.