Solaris cc didn't appreciate casting a long to a pointer
[p5sagit/p5-mst-13.2.git] / ext / ByteLoader / byterun.c
index 636c206..0a8afc6 100644 (file)
@@ -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