Trivial: Fix warning introduced by #7053 by casting to uint64_t

This commit is contained in:
Jorge Timón
2015-11-27 15:12:08 +01:00
parent 2a94cd67e8
commit cb491e7788
3 changed files with 3 additions and 3 deletions

View File

@@ -3248,7 +3248,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;
}