From 5a961c37682383d5d439a16b912be62cd2d0a7f0 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 5 Oct 2021 15:56:34 +0900 Subject: Remove a redundant cast between the exact same types --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string.c') diff --git a/string.c b/string.c index 3f588dfbb1..4cd5f5e677 100644 --- a/string.c +++ b/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); -- cgit v1.2.3