summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/dpkgpm.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-10-23 14:32:01 -0400
committerMichael Vogt <mvo@debian.org>2014-10-23 14:32:01 -0400
commit28460cb27846b2437010b08adf10bde18e370974 (patch)
treec317e2f45aa1c96300028fb830555f248db5771e /apt-pkg/deb/dpkgpm.cc
parenta3cada6abc42a2966c427a3b0731977ecfa7edcb (diff)
Fix incorrect comparison between signed/unsigned
Git-Dch: ignore
Diffstat (limited to 'apt-pkg/deb/dpkgpm.cc')
-rw-r--r--apt-pkg/deb/dpkgpm.cc2
1 files changed, 1 insertions, 1 deletions
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;