Skip to content

Commit

Permalink
Fixed integer comparison warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
rajarshimaitra authored and furszy committed Apr 23, 2021
1 parent 189d8b7 commit bf6a491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2638,7 +2638,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());
}
Expand Down

0 comments on commit bf6a491

Please sign in to comment.