diff options
author | Gregory Maxwell <greg@xiph.org> | 2015-11-16 16:34:42 -0800 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2015-11-16 16:34:51 -0800 |
commit | 0a547d2d550153b94837093249e5c870e45191b8 (patch) | |
tree | e19d29928c1dac5dfc29fb89dabb31fd1efb44ed | |
parent | e54ebbf6009716a7abcd4d8d3f7bd910e88decdc (diff) | |
parent | 4d29032a6437eaa147a69ce2857fb243bf3a1e49 (diff) |
Merge pull request #7023
4d29032 Fixed integer comparison warning. (Eric Lombrozo)
-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()); } |