summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2007-10-02 09:46:44 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2007-10-02 09:46:44 -0300
commita491fe600cdcf28ee9515d4fde02345be93a0f9c (patch)
tree04001afdb2078ff74813ef4c97a09a4c65cf641b /apt-pkg
parent70e6f24e3b39f7cc72cecab181b10c1f79474182 (diff)
- apt-pkg/deb/debmetaindex.cc: comparison with string literal results
in unspecified behaviour;
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/deb/debmetaindex.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/deb/debmetaindex.cc b/apt-pkg/deb/debmetaindex.cc
index 94995798f..9ac659f78 100644
--- a/apt-pkg/deb/debmetaindex.cc
+++ b/apt-pkg/deb/debmetaindex.cc
@@ -224,7 +224,7 @@ class debSLTypeDebian : public pkgSourceList::Type
// This check insures that there will be only one Release file
// queued for all the Packages files and Sources files it
// corresponds to.
- if ((*I)->GetType() == "deb")
+ if (strcmp((*I)->GetType(), "deb") == 0)
{
debReleaseIndex *Deb = (debReleaseIndex *) (*I);
// This check insures that there will be only one Release file