summaryrefslogtreecommitdiff
path: root/ext/ByteLoader/byterun.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-07-28 11:02:23 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-07-28 11:02:23 +0000
commitb97332e79eae50b3e7d901d7d7afe7197bed99ac (patch)
tree9ce68a879a9ece2034e436cb362296231df3007e /ext/ByteLoader/byterun.c
parentcd1fc0d41bb8ca74dfd4944b87b8433706d3558e (diff)
downloadperl-b97332e79eae50b3e7d901d7d7afe7197bed99ac.tar.gz
Solaris cc didn't appreciate casting a long to a pointer
with no cast, and lval casts are unportable, so introduce a rval cast. p4raw-id: //depot/perl@20261
Diffstat (limited to 'ext/ByteLoader/byterun.c')
-rw-r--r--ext/ByteLoader/byterun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ByteLoader/byterun.c b/ext/ByteLoader/byterun.c
index 636c206c58..0a8afc627a 100644
--- a/ext/ByteLoader/byterun.c
+++ b/ext/ByteLoader/byterun.c
@@ -824,7 +824,7 @@ byterun(pTHX_ register struct byteloader_state *bstate)
{
PADOFFSET arg;
BGET_U32(arg);
- (PADOFFSET)cPMOP->op_pmreplroot = arg;
+ cPMOP->op_pmreplroot = (OP*)arg;
break;
}
#else