diff options
| author | Philip Kaufmann <[email protected]> | 2012-11-16 08:29:47 +0100 |
|---|---|---|
| committer | Luke Dashjr <[email protected]> | 2012-11-17 09:04:53 +0000 |
| commit | 57af0d8ef025af734c0aad9ae8f43e0e7f4a61ab (patch) | |
| tree | ce0db7309f313ef3daaa794835e06d28249fd17d /src/main.cpp | |
| parent | Print error for coinbase-pays-too-much case of ConnectBlock failing (diff) | |
| download | discoin-57af0d8ef025af734c0aad9ae8f43e0e7f4a61ab.tar.xz discoin-57af0d8ef025af734c0aad9ae8f43e0e7f4a61ab.zip | |
ensure we use our format macros to avoid compilation warnings
- fixes 2 warnings I observed while compiling on Windows with MinGW
Diffstat (limited to 'src/main.cpp')
| -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 988bee650..1c72881be 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=%lld vs limit=%lld)", (long long)vtx[0].GetValueOut(), (long long)GetBlockValue(pindex->nHeight, nFees)); + return error("ConnectBlock() : coinbase pays too much (actual=%"PRI64u" vs limit=%"PRI64u")", 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. |