Fixed integer comparison warning.

This commit is contained in:
Eric Lombrozo 2015-11-15 20:13:30 -05:00
parent b632145ede
commit 4d29032a64

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