From d2bbaa9eb52103ae77987dd7c7f796156d2b6b74b450ecdb0004d7e8f3e27fc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Schr=C3=B6der?= Date: Tue, 25 Mar 2014 12:23:10 +0000 Subject: [PATCH] adapt overflow patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl?expand=0&rev=109 --- perl-5.18.2-overflow.diff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-5.18.2-overflow.diff b/perl-5.18.2-overflow.diff index f4ab898..d89a47d 100644 --- a/perl-5.18.2-overflow.diff +++ b/perl-5.18.2-overflow.diff @@ -5,7 +5,7 @@ #ifndef NV_PRESERVES_UV && (((UV)1 << NV_PRESERVES_UV_BITS) > - (UV)(SvIVX(sv) > 0 ? SvIVX(sv) : -SvIVX(sv))) -+ (UV)(SvIVX(sv) > 0 ? SvIVX(sv) : -SvUVX(sv))) ++ (UV)(SvIVX(sv) > 0 ? (UV)SvIVX(sv) : -(UV)SvIVX(sv))) /* Don't flag it as "accurately an integer" if the number came from a (by definition imprecise) NV operation, and we're outside the range of NV integer precision */