Fix long format
This commit is contained in:
2
mpc.c
2
mpc.c
@@ -641,7 +641,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]); }
|
||||
|
Reference in New Issue
Block a user