Merge pull request #7023

4d29032 Fixed integer comparison warning. (Eric Lombrozo)
This commit is contained in:
Gregory Maxwell 2015-11-16 16:34:42 -08:00
commit 0a547d2d55
No known key found for this signature in database
GPG Key ID: EAB5AF94D9E9ABE7
1 changed files with 1 additions and 1 deletions

View File

@ -2577,7 +2577,7 @@ bool FindBlockPos(CValidationState &state, CDiskBlockPos &pos, unsigned int nAdd
pos.nPos = vinfoBlockFile[nFile].nSize; pos.nPos = vinfoBlockFile[nFile].nSize;
} }
if (nFile != nLastBlockFile) { if ((int)nFile != nLastBlockFile) {
if (!fKnown) { if (!fKnown) {
LogPrintf("Leaving block file %i: %s\n", nFile, vinfoBlockFile[nFile].ToString()); LogPrintf("Leaving block file %i: %s\n", nFile, vinfoBlockFile[nFile].ToString());
} }