diff options
| author | Pieter Wuille <[email protected]> | 2012-11-16 01:56:41 -0800 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2012-11-16 01:56:41 -0800 |
| commit | 1fefd2a5bc8eb3a95c12e260f554c6dcfbb1773c (patch) | |
| tree | 6e356422d7e2f7a56d5efbf40ea41bdbe415c706 /src/main.cpp | |
| parent | Merge pull request #1767 from Diapolo/RPCCon_clear_history (diff) | |
| parent | ensure we use our format macros to avoid compilation warnings (diff) | |
| download | discoin-1fefd2a5bc8eb3a95c12e260f554c6dcfbb1773c.tar.xz discoin-1fefd2a5bc8eb3a95c12e260f554c6dcfbb1773c.zip | |
Merge pull request #2018 from Diapolo/fix_warning
ensure we use our format macros to avoid compilation warnings
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 357ab696b..beb788aa4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1610,7 +1610,7 @@ bool CBlock::ConnectBlock(CBlockIndex* pindex, CCoinsViewCache &view, bool fJust } 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)); if (fJustCheck) return true; |