aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJorge Timón <jtimon@jtimon.cc>2015-11-27 15:12:08 +0100
committerJorge Timón <jtimon@jtimon.cc>2015-11-29 21:19:37 +0100
commitcb491e778828d322800793cb229884c904f172b5 (patch)
tree9239b8a15ad845955f955a09e7370cfd1f17f8e9 /src/main.cpp
parent2a94cd67e80555aec3ba13d5129b1f5402b0c5b4 (diff)
Trivial: Fix warning introduced by #7053 by casting to uint64_t
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ceb5cb66f3..eccc4999c1 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -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;
}