]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-item.cc
save and restore selection states before/after calling dpkg
[apt.git] / apt-pkg / acquire-item.cc
index 3f1a4e8630c8e4f1dd4b7820e97b36cfbcad6f95..ad8cb7f245795298c4c5a54d361b86012881e534 100644 (file)
@@ -2777,7 +2777,7 @@ std::string pkgAcqIndexMergeDiffs::Custom600Headers() const               /*{{{*/
    {
       HashStringList const ExpectedHashes = (*I)->patch.patch_hashes;
       for (HashStringList::const_iterator hs = ExpectedHashes.begin(); hs != ExpectedHashes.end(); ++hs)
    {
       HashStringList const ExpectedHashes = (*I)->patch.patch_hashes;
       for (HashStringList::const_iterator hs = ExpectedHashes.begin(); hs != ExpectedHashes.end(); ++hs)
-        patchhashes <<  "\nPatch-" << seen_patches << "-" << hs->HashType() << "-Hash: " << hs->HashValue();
+        patchhashes <<  "\nPatch-" << std::to_string(seen_patches) << "-" << hs->HashType() << "-Hash: " << hs->HashValue();
       ++seen_patches;
    }
    patchhashes << pkgAcqBaseIndex::Custom600Headers();
       ++seen_patches;
    }
    patchhashes << pkgAcqBaseIndex::Custom600Headers();