summaryrefslogtreecommitdiff
path: root/mathoms.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-10-17 06:00:22 -0600
committerKarl Williamson <khw@cpan.org>2020-11-02 09:35:45 -0700
commit4e528812291825e541d225bcf2bffac0cf23be3d (patch)
tree6edc41e4c77a80fb8a59a69d71da62072e8a5fd6 /mathoms.c
parent0f60372ed6df95f464ea9e1f7fd11d209caee776 (diff)
downloadperl-4e528812291825e541d225bcf2bffac0cf23be3d.tar.gz
Cast parameters to instr, strstr
This code isn't apparently compiled on modern platforms, as when I tried to force them to compile, I had to do this.
Diffstat (limited to 'mathoms.c')
-rw-r--r--mathoms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mathoms.c b/mathoms.c
index b490049d09..19b0154b64 100644
--- a/mathoms.c
+++ b/mathoms.c
@@ -1294,7 +1294,7 @@ Perl_instr(const char *big, const char *little)
{
PERL_ARGS_ASSERT_INSTR;
- return instr((char *) big, (char *) little);
+ return instr(big, little);
}
SV *