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

View file

@ -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());
}