mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-04 04:28:20 +00:00
Fix wrong format for long in mpc (#16474)
This commit is contained in:
parent
fdb17b6329
commit
871b68bb8c
@ -584,7 +584,7 @@ char *mpc_err_string(mpc_err_t *x) {
|
||||
}
|
||||
|
||||
mpc_err_string_cat(buffer, &pos, &max,
|
||||
"%s:%i:%i: error: expected ", x->filename, x->state.row+1, x->state.col+1);
|
||||
"%s:%li:%li: error: expected ", x->filename, x->state.row+1, x->state.col+1);
|
||||
|
||||
if (x->expected_num == 0) { mpc_err_string_cat(buffer, &pos, &max, "ERROR: NOTHING EXPECTED"); }
|
||||
if (x->expected_num == 1) { mpc_err_string_cat(buffer, &pos, &max, "%s", x->expected[0]); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user