* apt-pkg/deb/debmetaindex.cc: comparison with string literal results
[ntk/apt.git] / apt-pkg / deb / debmetaindex.cc
index 9499579..c700f8d 100644 (file)
@@ -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