diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2012-11-16 08:29:47 +0100 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2012-11-16 08:29:47 +0100 |
commit | 42152c3da972dcab2c2830d26db1364a3575fe48 (patch) | |
tree | 6e356422d7e2f7a56d5efbf40ea41bdbe415c706 /src/main.cpp | |
parent | 0c42ee813024b9cbe458865dc50952019f6d6d7d (diff) | |
download | bitcoin-42152c3da972dcab2c2830d26db1364a3575fe48.tar.xz |
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 357ab696b7..beb788aa4d 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; |