aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2017-09-05 18:18:44 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2017-09-07 11:54:23 +0200
commit862bc7db3b81352bd7d199b046cd9ed6475bb621 (patch)
treeb106f91bb8896a4b50378d438206d96eafad2574
parent5ca98821d9edff021d76c8e0e464aa8c9304fca5 (diff)
downloadperl-URPM-862bc7db3b81352bd7d199b046cd9ed6475bb621.tar
perl-URPM-862bc7db3b81352bd7d199b046cd9ed6475bb621.tar.gz
perl-URPM-862bc7db3b81352bd7d199b046cd9ed6475bb621.tar.bz2
perl-URPM-862bc7db3b81352bd7d199b046cd9ed6475bb621.tar.xz
perl-URPM-862bc7db3b81352bd7d199b046cd9ed6475bb621.zip
Revert "make sure to use int64 on 32bit arch"
-rw-r--r--NEWS2
-rw-r--r--URPM/Resolve.pm2
2 files changed, 0 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index 24013da..b5183b6 100644
--- a/NEWS
+++ b/NEWS
@@ -9,8 +9,6 @@ Version 5.13 - 23 August 2017
Version 5.12 - 10 November 2016
- fix more compilation warnings
-- make sure to use int64 on 32bit arch
- else we may got total size to overflow (mga#19686)
Version 5.11 - 20 October 2016
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 9f88f97..e1f57d2 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -6,7 +6,6 @@ package URPM;
use strict;
use warnings;
use Config;
-use Math::Int64 ':native_if_available', 'int64';
# perl_checker: require URPM
@@ -1838,7 +1837,6 @@ sub _selected_size_filesize {
my ($urpm, $state, $compute_filesize) = @_;
my ($size, $filesize, $bad_filesize);
- $size = int64(0); # make sure to use Int64, even on 32bit
foreach (keys %{$state->{selected} || {}}) {
my $pkg = $urpm->{depslist}[$_];
$size += $pkg->size;