Merge pull request #7023
4d29032
Fixed integer comparison warning. (Eric Lombrozo)
This commit is contained in:
commit
0a547d2d55
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue