Message-Id: <
20070115040930.8685843A67@anubis.hut.fi>
p4raw-id: //depot/perl@29812
else if (j >= (I32)rlen)
j = rlen - 1;
else {
- tbl = PerlMemShared_realloc(tbl,
- (0x101+rlen-j) * sizeof(short));
+ tbl =
+ (short *)
+ PerlMemShared_realloc(tbl,
+ (0x101+rlen-j) * sizeof(short));
cPVOPo->op_pv = (char*)tbl;
}
tbl[0x100] = (short)(rlen - j);
}
no_more:
- tbl = PerlMemShared_calloc(complement&&!del?258:256, sizeof(short));
+ tbl = (short *)PerlMemShared_calloc(complement&&!del?258:256, sizeof(short));
o = newPVOP(OP_TRANS, 0, (char*)tbl);
o->op_private &= ~OPpTRANS_ALL;
o->op_private |= del|squash|complement|