diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2012-05-06 05:27:08 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2012-05-06 05:27:08 +0000 |
commit | 607739befb6d4a647f03ed049b12222b1530f43c (patch) | |
tree | f417a3d365cda3029ef4926d301902072dc2eb1b | |
parent | ad5a4c7c471912aa0bef52c33a1abfb01fe6d89d (diff) |
Bugfix: %-12I64d is not valid and causes the parameter to be skipped, use %12"PRI64d" instead
Conflicts:
src/walletdb.cpp
-rw-r--r-- | src/db.cpp | 2 | ||||
-rw-r--r-- | src/main.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/db.cpp b/src/db.cpp index bf335e7e3f..4c0c557a5a 100644 --- a/src/db.cpp +++ b/src/db.cpp @@ -867,7 +867,7 @@ int CWalletDB::LoadWallet(CWallet* pwallet) //// debug print //printf("LoadWallet %s\n", wtx.GetHash().ToString().c_str()); - //printf(" %12I64d %s %s %s\n", + //printf(" %12"PRI64d" %s %s %s\n", // wtx.vout[0].nValue, // DateTimeStrFormat("%x %H:%M:%S", wtx.GetBlockTime()).c_str(), // wtx.hashBlock.ToString().substr(0,20).c_str(), diff --git a/src/main.cpp b/src/main.cpp index e8cbc01c7f..67d6638e0e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2971,7 +2971,7 @@ CBlock* CreateNewBlock(CReserveKey& reservekey) dPriority += (double)nValueIn * nConf; if (fDebug && GetBoolArg("-printpriority")) - printf("priority nValueIn=%-12I64d nConf=%-5d dPriority=%-20.1f\n", nValueIn, nConf, dPriority); + printf("priority nValueIn=%-12"PRI64d" nConf=%-5d dPriority=%-20.1f\n", nValueIn, nConf, dPriority); } // Priority is sum(valuein * age) / txsize |