summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-08 00:52:38 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-08 00:52:38 +0000
commit2e65b0d8bb9f00e458e4bc1e468e913f5404e0c1 (patch)
treee88d8378b607d7d20040ff84fc8ea71bdb113d26 /parse.y
parent43cfe6c63edc7142aa3c0a361191bc8eec912d9d (diff)
* parse.y (LVAR_USED): should be int same as ruby_sourceline.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 90a14f35e2..07ad847b4e 100644
--- a/parse.y
+++ b/parse.y
@@ -8966,7 +8966,7 @@ new_args_gen(struct parser_params *parser, NODE *m, NODE *o, ID r, NODE *p, ID b
}
#endif /* !RIPPER */
-#define LVAR_USED ((ID)1 << (sizeof(ID) * CHAR_BIT - 1))
+#define LVAR_USED ((int)1 << (sizeof(int) * CHAR_BIT - 1))
static void
warn_unused_var(struct parser_params *parser, struct vtable *tbl)