Trivial: Fix warning introduced by #7053 by casting to uint64_t
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user