summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2002-04-21 22:32:29 +0000
committerGurusamy Sarathy <gsar@cpan.org>2002-04-21 22:32:29 +0000
commit91f3b821ca3eaa8b7d74bb338729ba51b7b68a90 (patch)
tree07c31a8443cfe72d822b821516a5f4ef90099af5 /pp.c
parent11ef8fddd64f78304dc923b07dffddd7a4f28074 (diff)
downloadperl-91f3b821ca3eaa8b7d74bb338729ba51b7b68a90.tar.gz
squelch some more type mismatch warnings
SvREFCNT_dec(x ? y : z) did not typecast the right thing due to missing parens in macro definition p4raw-id: //depot/perl@16055
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp.c b/pp.c
index 3b3d76d99e..a2433d9b17 100644
--- a/pp.c
+++ b/pp.c
@@ -1185,7 +1185,7 @@ PP(pp_divide)
}
/* 2s complement assumption */
if (result <= (UV)IV_MIN)
- SETi( -result );
+ SETi( -(IV)result );
else {
/* It's exact but too negative for IV. */
SETn( -(NV)result );