1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* enc/utf_8.c (code_to_mbc): suppressed a warning.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-08-21 06:37:36 +00:00
parent 7fa7345609
commit a606038c6a

View file

@ -363,7 +363,7 @@ code_to_mbc(OnigCodePoint code, UChar *buf, OnigEncoding enc ARG_UNUSED)
} }
*p++ = UTF8_TRAIL0(code); *p++ = UTF8_TRAIL0(code);
return p - buf; return (int)(p - buf);
} }
} }