diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-11-30 10:18:38 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-11-30 10:18:46 +0100 |
commit | 74b5ce24c6a450c0a57048b012dd15b182e981a9 (patch) | |
tree | bf8db5c5f2e24b3e468b53264a3de4302a3fad7d /src/main.cpp | |
parent | fa93174a7c06f6bf74e597764398090f3d14c30c (diff) | |
parent | cb491e778828d322800793cb229884c904f172b5 (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.cpp | 2 |
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; } |