diff options
| author | Gavin Andresen <[email protected]> | 2012-10-01 16:52:42 -0400 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2012-10-01 16:52:42 -0400 |
| commit | 0547b02af78dcf2d84e4905b56c7f95d9582b2f9 (patch) | |
| tree | 6b0990d6e227a056b825825c3276536238b5b3c6 /src/wallet.cpp | |
| parent | Merge branch 'master' of github.com:runeksvendsen/bitcoin (diff) | |
| parent | Revert "Remove -Wformat* warnings from makefiles" (diff) | |
| download | discoin-0547b02af78dcf2d84e4905b56c7f95d9582b2f9.tar.xz discoin-0547b02af78dcf2d84e4905b56c7f95d9582b2f9.zip | |
Merge branch '2012_09_fixwformat' of github.com:laanwj/bitcoin
Diffstat (limited to 'src/wallet.cpp')
| -rw-r--r-- | src/wallet.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp index a10f18730..f3e71f59a 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -804,7 +804,7 @@ void CWallet::ReacceptWalletTransactions() // Update fSpent if a tx got spent somewhere else by a copy of wallet.dat if (txindex.vSpent.size() != wtx.vout.size()) { - printf("ERROR: ReacceptWalletTransactions() : txindex.vSpent.size() %d != wtx.vout.size() %d\n", txindex.vSpent.size(), wtx.vout.size()); + printf("ERROR: ReacceptWalletTransactions() : txindex.vSpent.size() %"PRIszu" != wtx.vout.size() %"PRIszu"\n", txindex.vSpent.size(), wtx.vout.size()); continue; } for (unsigned int i = 0; i < txindex.vSpent.size(); i++) @@ -1424,7 +1424,7 @@ void CWallet::PrintWallet(const CBlock& block) if (mapWallet.count(block.vtx[0].GetHash())) { CWalletTx& wtx = mapWallet[block.vtx[0].GetHash()]; - printf(" mine: %d %d %d", wtx.GetDepthInMainChain(), wtx.GetBlocksToMaturity(), wtx.GetCredit()); + printf(" mine: %d %d %"PRI64d"", wtx.GetDepthInMainChain(), wtx.GetBlocksToMaturity(), wtx.GetCredit()); } } printf("\n"); @@ -1511,7 +1511,7 @@ bool CWallet::TopUpKeyPool() if (!walletdb.WritePool(nEnd, CKeyPool(GenerateNewKey()))) throw runtime_error("TopUpKeyPool() : writing generated key failed"); setKeyPool.insert(nEnd); - printf("keypool added key %"PRI64d", size=%d\n", nEnd, setKeyPool.size()); + printf("keypool added key %"PRI64d", size=%"PRIszu"\n", nEnd, setKeyPool.size()); } } return true; |