mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
fix: mrbgems\mruby-compiler\core\parse.y(3455): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
This commit is contained in:
@@ -3452,7 +3452,7 @@ backref_error(parser_state *p, node *n)
|
||||
c = (int)(intptr_t)n->car;
|
||||
|
||||
if (c == NODE_NTH_REF) {
|
||||
yyerror_i(p, "can't set variable $%" MRB_PRId, (mrb_int)(intptr_t)n->cdr);
|
||||
yyerror_i(p, "can't set variable $%" MRB_PRId, (int)(intptr_t)n->cdr);
|
||||
}
|
||||
else if (c == NODE_BACK_REF) {
|
||||
yyerror_i(p, "can't set variable $%c", (int)(intptr_t)n->cdr);
|
||||
|
||||
Reference in New Issue
Block a user