Skip to content

Commit 4d29032

Browse files
committed
Fixed integer comparison warning.
1 parent b632145 commit 4d29032

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cpp

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

2580-
if (nFile != nLastBlockFile) {
2580+
if ((int)nFile != nLastBlockFile) {
25812581
if (!fKnown) {
25822582
LogPrintf("Leaving block file %i: %s\n", nFile, vinfoBlockFile[nFile].ToString());
25832583
}

0 commit comments

Comments
 (0)