Skip to content
Browse files

Clean a warning.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
1 parent dbf7e6f commit ac21a6ef7db04faa703a3b010c7dc591b50af75c @nurse nurse committed Nov 9, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 regenc.c
View
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;
}

0 comments on commit ac21a6e

Please sign in to comment.
Something went wrong with that request. Please try again.