diff options
author | Eric Lombrozo <elombrozo@gmail.com> | 2015-11-15 20:13:30 -0500 |
---|---|---|
committer | Eric Lombrozo <elombrozo@gmail.com> | 2015-11-15 20:13:30 -0500 |
commit | 4d29032a6437eaa147a69ce2857fb243bf3a1e49 (patch) | |
tree | 8e42fd8a7be7f47efe1bca0f4d11cae17b5d44c7 | |
parent | b632145edeb376b4d1597f192ca00634f7d2866c (diff) |
Fixed integer comparison warning.
-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 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()); } |