aboutsummaryrefslogtreecommitdiff
path: root/src/db.cpp
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@exmulti.com>2012-04-22 14:01:25 -0400
committerJeff Garzik <jgarzik@redhat.com>2012-04-23 14:14:36 -0400
commit735a60698c845f257a0f7e9b617d50669d9179d4 (patch)
tree6f0d818c656a05a8cf2531cf9632dc6cdefc4e20 /src/db.cpp
parent5aa0b2382515eb92fe249a106059f3b6a9328d26 (diff)
Change signed->unsigned at 3 code sites
This resolves signed/unsigned comparison warnings.
Diffstat (limited to 'src/db.cpp')
-rw-r--r--src/db.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.cpp b/src/db.cpp
index 39a41894d7..53da378fee 100644
--- a/src/db.cpp
+++ b/src/db.cpp
@@ -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)