aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorEric Lombrozo <elombrozo@gmail.com>2015-11-15 20:13:30 -0500
committerEric Lombrozo <elombrozo@gmail.com>2015-11-15 20:13:30 -0500
commit4d29032a6437eaa147a69ce2857fb243bf3a1e49 (patch)
tree8e42fd8a7be7f47efe1bca0f4d11cae17b5d44c7 /src/main.cpp
parentb632145edeb376b4d1597f192ca00634f7d2866c (diff)
downloadbitcoin-4d29032a6437eaa147a69ce2857fb243bf3a1e49.tar.xz
Fixed integer comparison warning.
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 9fca183bb0..5d053e7813 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2577,7 +2577,7 @@ bool FindBlockPos(CValidationState &state, CDiskBlockPos &pos, unsigned int nAdd
pos.nPos = vinfoBlockFile[nFile].nSize;
}
- if (nFile != nLastBlockFile) {
+ if ((int)nFile != nLastBlockFile) {
if (!fKnown) {
LogPrintf("Leaving block file %i: %s\n", nFile, vinfoBlockFile[nFile].ToString());
}