summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-compiler/core/parse.y
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2017-09-29 00:18:39 +0900
committerGitHub <[email protected]>2017-09-29 00:18:39 +0900
commit29a9e698e33f89c18cd8f9622bd503aa55df2f51 (patch)
treee83110a7db0edaa3a6c191abe850ed7b657f766e /mrbgems/mruby-compiler/core/parse.y
parent381850280c036116adaffe42cc420da9c71d28a2 (diff)
parent999ce87129fb9216ae746140aa716a764a79b354 (diff)
downloadmruby-29a9e698e33f89c18cd8f9622bd503aa55df2f51.tar.gz
mruby-29a9e698e33f89c18cd8f9622bd503aa55df2f51.zip
Merge pull request #3815 from dabroz/fix-warnings
Fix MSVC 14.0 warnings
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);