ensure we use our format macros to avoid compilation warnings

- fixes 2 warnings I observed while compiling on Windows with MinGW
This commit is contained in:
Philip Kaufmann
2012-11-17 09:04:53 +00:00
committed by Luke Dashjr
parent 6d6bf32064
commit 57af0d8ef0
+1 -1
View File
@@ -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.