diff --git a/util.h b/util.h index 9ef5e38fcbb0..0b3acabaf1e5 100644 --- a/util.h +++ b/util.h @@ -241,7 +241,7 @@ returning NULL if not found. The terminating NUL bytes are not compared. */ -#define Perl_instr(haystack, needle) strstr((char *) haystack, (char *) needle) +#define Perl_instr(haystack, needle) strstr(haystack, needle) #ifdef HAS_MEMMEM # define ninstr(big, bigend, little, lend) \