From e6589b2b552f1fb7fe601cce7dda7b86fb4d873d Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 14 May 2013 08:24:55 +0000 Subject: [PATCH] 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 --- parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;