summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-14 08:24:55 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-14 08:24:55 +0000
commite6589b2b552f1fb7fe601cce7dda7b86fb4d873d (patch)
treebbbe562a1798bab3d882fefa6aa184c41511bbad /parse.y
parentf83c42d970916f8c2d8b30cb252ce09709c10b60 (diff)
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
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 b02de5ca02..60b85c09ff 100644
--- a/parse.y
+++ b/parse.y
@@ -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;