Merge pull request #7116

cb491e7 Trivial: Fix warning introduced by #7053 by casting to uint64_t (Jorge Timón)
This commit is contained in:
Wladimir J. van der Laan
2015-11-30 10:18:38 +01:00
3 changed files with 3 additions and 3 deletions

View File

@@ -3290,7 +3290,7 @@ void FindFilesToPrune(std::set<int>& setFilesToPrune, uint64_t nPruneAfterHeight
if (chainActive.Tip() == NULL || nPruneTarget == 0) {
return;
}
if (chainActive.Tip()->nHeight <= nPruneAfterHeight) {
if ((uint64_t)chainActive.Tip()->nHeight <= nPruneAfterHeight) {
return;
}