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:
parent
7fa7345609
commit
a606038c6a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue