Skip to content

Commit

Permalink
[Bug #20903] rb_econv_str_append arguments expected to be String
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Nov 22, 2024
1 parent 801e663 commit 4e01878
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/-test-/econv/append.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ static VALUE
econv_append(VALUE self, VALUE src, VALUE dst)
{
rb_econv_t *ec = DATA_PTR(self);
StringValue(src);
StringValue(dst);
return rb_econv_str_append(ec, src, dst, 0);
}

Expand Down

0 comments on commit 4e01878

Please sign in to comment.