mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Remove a redundant cast between the exact same types
This commit is contained in:
parent
126122bb6c
commit
5a961c3768
1 changed files with 1 additions and 1 deletions
2
string.c
2
string.c
|
@ -6809,7 +6809,7 @@ rb_str_casemap(VALUE source, OnigCaseFoldType *flags, rb_encoding *enc)
|
|||
current_buffer->next = NULL;
|
||||
current_buffer->capa = capa;
|
||||
buffer_length_or_invalid = enc->case_map(flags,
|
||||
(const OnigUChar**)&source_current, source_end,
|
||||
&source_current, source_end,
|
||||
current_buffer->space,
|
||||
current_buffer->space+current_buffer->capa,
|
||||
enc);
|
||||
|
|
Loading…
Add table
Reference in a new issue