diff options
author | Nobuyoshi Nakada <[email protected]> | 2021-01-30 20:08:18 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-01-30 20:08:18 +0900 |
commit | 1f5b8f7084ac8c6a13612a6ced47e4678ff063c2 (patch) | |
tree | 8be87e6fc71129aaaa4af5ace2dc2b3a7ced2677 /string.c | |
parent | 98e27016c93455d4e9e208d0666d85929cb62857 (diff) |
Constified pointers in str_casecmp
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |