diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-08 00:52:38 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-08 00:52:38 +0000 |
commit | 2e65b0d8bb9f00e458e4bc1e468e913f5404e0c1 (patch) | |
tree | e88d8378b607d7d20040ff84fc8ea71bdb113d26 /parse.y | |
parent | 43cfe6c63edc7142aa3c0a361191bc8eec912d9d (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.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |