Change signed->unsigned at 3 code sites

This resolves signed/unsigned comparison warnings.
This commit is contained in:
Jeff Garzik
2012-04-22 14:01:25 -04:00
committed by Jeff Garzik
parent 5aa0b23825
commit 735a60698c
3 changed files with 4 additions and 4 deletions

View File

@@ -648,7 +648,7 @@ bool CTxDB::LoadBlockIndex()
}
}
// check level 4: check whether spent txouts were spent within the main chain
int nOutput = 0;
unsigned int nOutput = 0;
if (nCheckLevel>3)
{
BOOST_FOREACH(const CDiskTxPos &txpos, txindex.vSpent)