mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Clean a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
dbf7e6f9f2
commit
ac21a6ef7d
1 changed files with 1 additions and 1 deletions
2
regenc.c
2
regenc.c
|
@ -811,7 +811,7 @@ onigenc_minimum_property_name_to_ctype(OnigEncoding enc, UChar* p, UChar* end)
|
|||
len = onigenc_strlen(enc, p, end);
|
||||
for (pbe = (pb = PBS) + sizeof(PBS)/sizeof(PBS[0]); pb < pbe; ++pb) {
|
||||
if (len == pb->len &&
|
||||
STRNCASECMP(p, pb->name, len) == 0)
|
||||
STRNCASECMP((char *)p, (char *)pb->name, len) == 0)
|
||||
return pb->ctype;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue