From d7f2c723228b02be0a7320d7af15713b3cf62176 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 6 May 2017 01:01:52 +0000 Subject: [PATCH] string.c: fix types * string.c (id_normalize, id_normalized_p): fix types, IDs should be ID. * string.c (unicode_normalize_common): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/string.c b/string.c index eda2452716..1ab89bda55 100644 --- a/string.c +++ b/string.c @@ -9584,12 +9584,12 @@ str_scrub_bang(int argc, VALUE *argv, VALUE str) return str; } -static VALUE id_normalize; -static VALUE id_normalized_p; +static ID id_normalize; +static ID id_normalized_p; static VALUE mUnicodeNormalize; static VALUE -unicode_normalize_common(int argc, VALUE *argv, VALUE str, VALUE id) +unicode_normalize_common(int argc, VALUE *argv, VALUE str, ID id) { static int UnicodeNormalizeRequired = 0;