diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-14 08:24:55 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-14 08:24:55 +0000 |
commit | e6589b2b552f1fb7fe601cce7dda7b86fb4d873d (patch) | |
tree | bbbe562a1798bab3d882fefa6aa184c41511bbad | |
parent | f83c42d970916f8c2d8b30cb252ce09709c10b60 (diff) | |
download | ruby-e6589b2b552f1fb7fe601cce7dda7b86fb4d873d.tar.gz |
parse.y: fix argument type
* parse.y (is_global_name_punct): fix argument type, to get rid of
implicit promotion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6179,7 +6179,7 @@ const unsigned int ruby_global_name_punct_bits[] = { #endif static inline int -is_global_name_punct(const char c) +is_global_name_punct(const int c) { if (c <= 0x20 || 0x7e < c) return 0; return (ruby_global_name_punct_bits[(c - 0x20) / 32] >> (c % 32)) & 1; |