aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-11-30 10:18:38 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2015-11-30 10:18:46 +0100
commit74b5ce24c6a450c0a57048b012dd15b182e981a9 (patch)
treebf8db5c5f2e24b3e468b53264a3de4302a3fad7d /src/main.cpp
parentfa93174a7c06f6bf74e597764398090f3d14c30c (diff)
parentcb491e778828d322800793cb229884c904f172b5 (diff)
Merge pull request #7116
cb491e7 Trivial: Fix warning introduced by #7053 by casting to uint64_t (Jorge Timón)
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 31913956b7..901a34bdec 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -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;
}