aboutsummaryrefslogtreecommitdiff
path: root/src/core.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2014-02-26 12:16:03 -0500
committerGavin Andresen <gavinandresen@gmail.com>2014-02-26 12:16:03 -0500
commite3e65d29b70c64808b3ab5c58ce0b3bcefaadc5d (patch)
tree9453db3d22436dcd60c45ce880ecf7c0b683850f /src/core.cpp
parent3480bf7c650bb14a31020c3ef33e76edea650e13 (diff)
parent2f5da74362fb65201f1403bba3c63ce5e9d024e7 (diff)
Merge pull request #3735 from laanwj/2014_02_remove_PRIx64_completely
Remove PRIx64 usage completely
Diffstat (limited to 'src/core.cpp')
-rw-r--r--src/core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.cpp b/src/core.cpp
index f5c460761e..cbdd24e806 100644
--- a/src/core.cpp
+++ b/src/core.cpp
@@ -64,7 +64,7 @@ uint256 CTxOut::GetHash() const
std::string CTxOut::ToString() const
{
- return strprintf("CTxOut(nValue=%"PRId64".%08"PRId64", scriptPubKey=%s)", nValue / COIN, nValue % COIN, scriptPubKey.ToString().substr(0,30));
+ return strprintf("CTxOut(nValue=%d.%08d, scriptPubKey=%s)", nValue / COIN, nValue % COIN, scriptPubKey.ToString().substr(0,30));
}
void CTxOut::print() const