summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorLuca Bruno <lethalman88@gmail.com>2008-10-11 09:42:17 +0200
committerLuca Bruno <lethalman88@gmail.com>2008-10-11 09:42:17 +0200
commitd320fdc3539f686e690a4ae0cb3f941b0e1a0456 (patch)
treebd89aa4ce9eede042464b6f0ab11f236312526f5 /apt-pkg
parent2ec1674d7d0c0cd77fb385d16bf8db98968e3e84 (diff)
downloadapt-d320fdc3539f686e690a4ae0cb3f941b0e1a0456.tar.gz
Fix another compilation warning in apt-pkg/versionmatch.cc
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/versionmatch.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/versionmatch.cc b/apt-pkg/versionmatch.cc
index 4a426809c..5c25c2f7b 100644
--- a/apt-pkg/versionmatch.cc
+++ b/apt-pkg/versionmatch.cc
@@ -124,7 +124,7 @@ bool pkgVersionMatch::MatchVer(const char *A,string B,bool Prefix)
const char *Ae = Ab + strlen(A);
// Strings are not a compatible size.
- if ((unsigned)(Ae - Ab) != B.length() && Prefix == false ||
+ if (((unsigned)(Ae - Ab) != B.length() && Prefix == false) ||
(unsigned)(Ae - Ab) < B.length())
return false;