mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* transcode.c (transcode_loop): suppressed a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
54985ad7dd
commit
4d82ba512c
1 changed files with 1 additions and 1 deletions
|
@ -2280,7 +2280,7 @@ transcode_loop(const unsigned char **in_pos, unsigned char **out_pos,
|
|||
StringValue(rep);
|
||||
ret = rb_econv_insert_output(ec, (const unsigned char *)RSTRING_PTR(rep),
|
||||
RSTRING_LEN(rep), rb_enc_name(rb_enc_get(rep)));
|
||||
if (ret == -1) {
|
||||
if ((int)ret == -1) {
|
||||
rb_raise(rb_eArgError, "too big fallback string");
|
||||
}
|
||||
goto resume;
|
||||
|
|
Loading…
Reference in a new issue