diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2015-05-13 20:04:39 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2015-06-23 08:39:57 +0000 |
commit | e617fe25785bfba30bcb0a8d8af6797b44ba07f5 (patch) | |
tree | 3aa208a7b40a0d286d2150b243a63cd7a2cb9364 /src/txmempool.cpp | |
parent | e9d0d252fc57119766f5d7b58715451dd42b1ce6 (diff) |
Fix various warnings
Found while building on Debian 7
Diffstat (limited to 'src/txmempool.cpp')
-rw-r--r-- | src/txmempool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp index 1c16e2092e..2292191be4 100644 --- a/src/txmempool.cpp +++ b/src/txmempool.cpp @@ -166,7 +166,7 @@ void CTxMemPool::removeCoinbaseSpends(const CCoinsViewCache *pcoins, unsigned in continue; const CCoins *coins = pcoins->AccessCoins(txin.prevout.hash); if (fSanityCheck) assert(coins); - if (!coins || (coins->IsCoinBase() && nMemPoolHeight - coins->nHeight < COINBASE_MATURITY)) { + if (!coins || (coins->IsCoinBase() && ((signed long)nMemPoolHeight) - coins->nHeight < COINBASE_MATURITY)) { transactionsToRemove.push_back(tx); break; } |