Skip to content

Commit ab4f184

Browse files
CodeSharkfurszy
authored andcommitted
Fixed integer comparison warning.
1 parent 189d8b7 commit ab4f184

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/validation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2638,7 +2638,7 @@ bool FindBlockPos(CValidationState& state, CDiskBlockPos& pos, unsigned int nAdd
26382638
pos.nPos = vinfoBlockFile[nFile].nSize;
26392639
}
26402640

2641-
if (nFile != nLastBlockFile) {
2641+
if ((int)nFile != nLastBlockFile) {
26422642
if (!fKnown) {
26432643
LogPrintf("Leaving block file %i: %s\n", nFile, vinfoBlockFile[nFile].ToString());
26442644
}

0 commit comments

Comments
 (0)