mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Constified pointers in str_casecmp
This commit is contained in:
parent
98e27016c9
commit
1f5b8f7084
1 changed files with 1 additions and 1 deletions
2
string.c
2
string.c
|
@ -3497,7 +3497,7 @@ str_casecmp(VALUE str1, VALUE str2)
|
|||
{
|
||||
long len;
|
||||
rb_encoding *enc;
|
||||
char *p1, *p1end, *p2, *p2end;
|
||||
const char *p1, *p1end, *p2, *p2end;
|
||||
|
||||
enc = rb_enc_compatible(str1, str2);
|
||||
if (!enc) {
|
||||
|
|
Loading…
Reference in a new issue