summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-compiler/core/parse.y
diff options
context:
space:
mode:
authorTomasz Dąbrowski <[email protected]>2017-09-25 16:57:01 +0200
committerTomasz Dąbrowski <[email protected]>2017-09-27 14:42:27 +0200
commit2e239a296e9194159ebe7a95dbb8b690d5431bc7 (patch)
tree2f66eab775dc75195cc8f4b21becad00ba2288c3 /mrbgems/mruby-compiler/core/parse.y
parentf1a02dff580c846698c5ae327b9fb2959f34607c (diff)
downloadmruby-2e239a296e9194159ebe7a95dbb8b690d5431bc7.tar.gz
mruby-2e239a296e9194159ebe7a95dbb8b690d5431bc7.zip
fix: mrbgems\mruby-compiler\core\parse.y(3455): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
Diffstat (limited to 'mrbgems/mruby-compiler/core/parse.y')
-rw-r--r--mrbgems/mruby-compiler/core/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-compiler/core/parse.y b/mrbgems/mruby-compiler/core/parse.y
index 41fc36217..ddf5856c5 100644
--- a/mrbgems/mruby-compiler/core/parse.y
+++ b/mrbgems/mruby-compiler/core/parse.y
@@ -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);