summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-06 03:29:11 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-06 03:29:11 +0000
commitbeccb14cab66f75e33e409a80fccc6cd1a636e4d (patch)
tree365bcfd5ba277c222b23e20bd8e0865ba0ec6cbf /pp.c
parent0b7031a26bc1dac055a802438072e3a031175a8d (diff)
downloadperl-beccb14cab66f75e33e409a80fccc6cd1a636e4d.tar.gz
avoid warning
p4raw-id: //depot/perl@5563
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 300b20fc37..01a90e2855 100644
--- a/pp.c
+++ b/pp.c
@@ -1398,7 +1398,7 @@ PP(pp_negate)
RETURN;
}
else if (SvUVX(sv) <= IV_MAX) {
- SETi(-SvUVX(sv));
+ SETi(-SvIVX(sv));
RETURN;
}
}