diff options
author | Jorge Timón <jtimon@jtimon.cc> | 2015-11-27 15:12:08 +0100 |
---|---|---|
committer | Jorge Timón <jtimon@jtimon.cc> | 2015-11-29 21:19:37 +0100 |
commit | cb491e778828d322800793cb229884c904f172b5 (patch) | |
tree | 9239b8a15ad845955f955a09e7370cfd1f17f8e9 /src/main.cpp | |
parent | 2a94cd67e80555aec3ba13d5129b1f5402b0c5b4 (diff) |
Trivial: Fix warning introduced by #7053 by casting to uint64_t
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 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; } |