- kill of gcc warning about using NULL in arithmetic
[apt.git] / 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());