- kill of gcc warning about using NULL in arithmetic
authorpmatilai <pmatilai>
Mon, 7 Aug 2006 15:29:21 +0000 (15:29 +0000)
committerpmatilai <pmatilai>
Mon, 7 Aug 2006 15:29:21 +0000 (15:29 +0000)
apt-pkg/rpm/rpmpm.cc

index a7ea2ef..5136f35 100644 (file)
@@ -309,7 +309,7 @@ bool pkgRPMPM::Go()
               upgrade.push_back(I->File.c_str());
         } else {
            // perform pure installs on non-installed normal packages, not upgrades
-           if (I->Pkg->CurrentVer != NULL) {
+           if (I->Pkg->CurrentVer != 0) {
               upgrade.push_back(I->File.c_str());
            } else {
               install.push_back(I->File.c_str());