From 28460cb27846b2437010b08adf10bde18e370974 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Thu, 23 Oct 2014 14:32:01 -0400 Subject: [PATCH] Fix incorrect comparison between signed/unsigned Git-Dch: ignore --- apt-pkg/deb/dpkgpm.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc index 2d26493f0..7bbf18cba 100644 --- a/apt-pkg/deb/dpkgpm.cc +++ b/apt-pkg/deb/dpkgpm.cc @@ -1252,7 +1252,7 @@ bool pkgDPkgPM::GoNoABIBreak(APT::Progress::PackageManager *progress) unsigned int const MaxArgs = _config->FindI("Dpkg::MaxArgs",32*1024); // try to figure out the max environment size - unsigned int OSArgMax = sysconf(_SC_ARG_MAX); + int OSArgMax = sysconf(_SC_ARG_MAX); if(OSArgMax < 0) OSArgMax = 32*1024; OSArgMax -= EnvironmentSize() - 2*1024; -- 2.45.2