aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <[email protected]>2012-09-29 11:57:44 +0200
committerWladimir J. van der Laan <[email protected]>2012-10-01 19:45:42 +0200
commitd210f4f5b8f904809789a543adeba520686b7573 (patch)
tree299bb3ab647c1bacdcb393f80a0e84a68f0cfd8e /src/init.cpp
parentExtend printf warnings to error() (diff)
downloaddiscoin-d210f4f5b8f904809789a543adeba520686b7573.tar.xz
discoin-d210f4f5b8f904809789a543adeba520686b7573.zip
fix -Wformat warnings all over the source
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 7ed2613f7..7e2cda629 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -767,11 +767,11 @@ bool AppInit2()
RandAddSeedPerfmon();
//// debug print
- printf("mapBlockIndex.size() = %d\n", mapBlockIndex.size());
+ printf("mapBlockIndex.size() = %"PRIszu"\n", mapBlockIndex.size());
printf("nBestHeight = %d\n", nBestHeight);
- printf("setKeyPool.size() = %d\n", pwalletMain->setKeyPool.size());
- printf("mapWallet.size() = %d\n", pwalletMain->mapWallet.size());
- printf("mapAddressBook.size() = %d\n", pwalletMain->mapAddressBook.size());
+ printf("setKeyPool.size() = %"PRIszu"\n", pwalletMain->setKeyPool.size());
+ printf("mapWallet.size() = %"PRIszu"\n", pwalletMain->mapWallet.size());
+ printf("mapAddressBook.size() = %"PRIszu"\n", pwalletMain->mapAddressBook.size());
if (!NewThread(StartNode, NULL))
InitError(_("Error: could not start node"));