diff options
| author | Philip Kaufmann <[email protected]> | 2012-11-16 21:46:16 +0100 |
|---|---|---|
| committer | Luke Dashjr <[email protected]> | 2012-11-17 09:04:56 +0000 |
| commit | 6247c53528eae6fd534f22cb5b603dd7546e9502 (patch) | |
| tree | 952e9e21fcf94c8ea5344b0c014e7e63290b2e52 /src | |
| parent | ensure we use our format macros to avoid compilation warnings (diff) | |
| download | discoin-6247c53528eae6fd534f22cb5b603dd7546e9502.tar.xz discoin-6247c53528eae6fd534f22cb5b603dd7546e9502.zip | |
ConnectBlock(): fix error() format to be unsigned
- I introduced the wrong format macro with my former patch (#2018), this
needs to be signed not unsigned (thanks Luke-Jr)
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 1c72881be..a597089f1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1251,7 +1251,7 @@ bool CBlock::ConnectBlock(CTxDB& txdb, CBlockIndex* pindex) } if (vtx[0].GetValueOut() > GetBlockValue(pindex->nHeight, nFees)) - return error("ConnectBlock() : coinbase pays too much (actual=%"PRI64u" vs limit=%"PRI64u")", vtx[0].GetValueOut(), GetBlockValue(pindex->nHeight, nFees)); + return error("ConnectBlock() : coinbase pays too much (actual=%"PRI64d" vs limit=%"PRI64d")", vtx[0].GetValueOut(), GetBlockValue(pindex->nHeight, nFees)); // Update block index on disk without changing it in memory. // The memory index structure will be changed after the db commits. |