summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorMark P Lutz <tecmpl1@triton.ca.boeing.com>1998-08-31 21:13:11 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-09-23 07:15:08 +0000
commit677ca5270bb482dd4a181c92531249084f454071 (patch)
tree5574e68a22f25459343a3e621aed796c57f4f15d /toke.c
parent9fe1d20ca4c3d9b963b1df956fdf16ba3efc34f6 (diff)
downloadperl-677ca5270bb482dd4a181c92531249084f454071.tar.gz
fix problematic typecast in filter_del()
Message-Id: <199808312113.VAA53356@triton.ca.boeing.com> Subject: perl5.005_02 does not build on Cray T90 p4raw-id: //depot/perl@1829
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toke.c b/toke.c
index 2583a42559..1556325af4 100644
--- a/toke.c
+++ b/toke.c
@@ -1431,7 +1431,7 @@ filter_del(filter_t funcp)
if (!PL_rsfp_filters || AvFILLp(PL_rsfp_filters)<0)
return;
/* if filter is on top of stack (usual case) just pop it off */
- if (IoDIRP(FILTER_DATA(AvFILLp(PL_rsfp_filters))) == (void*)funcp){
+ if (IoDIRP(FILTER_DATA(AvFILLp(PL_rsfp_filters))) == (DIR*)funcp){
sv_free(av_pop(PL_rsfp_filters));
return;