aboutsummaryrefslogtreecommitdiff
path: root/src/core.cpp
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2014-02-26 12:16:03 -0500
committerGavin Andresen <[email protected]>2014-02-26 12:16:03 -0500
commite3e65d29b70c64808b3ab5c58ce0b3bcefaadc5d (patch)
tree9453db3d22436dcd60c45ce880ecf7c0b683850f /src/core.cpp
parentMerge pull request #3736 (diff)
parentRemove definition of PRI?64 in util.h (diff)
downloaddiscoin-e3e65d29b70c64808b3ab5c58ce0b3bcefaadc5d.tar.xz
discoin-e3e65d29b70c64808b3ab5c58ce0b3bcefaadc5d.zip
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 f5c460761..cbdd24e80 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