diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2007-01-15 08:09:30 +0200 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2007-01-15 07:45:28 +0000 |
commit | aa1f7c5b6ec66b97fca8377d522bdd9e4ff098de (patch) | |
tree | 0b750c59a8e2908c3fcb8ca708baf2359a603d33 /op.c | |
parent | 4dc4bba60f13ed8dad154870e750085525979ec1 (diff) | |
download | perl-aa1f7c5b6ec66b97fca8377d522bdd9e4ff098de.tar.gz |
g++ fixes
Message-Id: <20070115040930.8685843A67@anubis.hut.fi>
p4raw-id: //depot/perl@29812
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -3096,8 +3096,10 @@ Perl_pmtrans(pTHX_ OP *o, OP *expr, OP *repl) 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); |