mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-18 16:42:54 +01:00
Fixed integer comparison warning.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user