Skip to content

Commit

Permalink
Fixed integer comparison warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeShark committed Nov 16, 2015
1 parent b632145 commit 4d29032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit 4d29032

Please sign in to comment.