summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-27 04:00:35 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-27 04:00:35 -0400
commit5ddb0e9bfbf3432a1078adc550484e5b8a151f34 (patch)
tree39abc7d909ec4bec278b9d7acdfa73bd6e482694
parent7fae606d622d8cd463ce5f81f5d7872a4fdebc60 (diff)
downloadfork-ledger-5ddb0e9bfbf3432a1078adc550484e5b8a151f34.tar.gz
fork-ledger-5ddb0e9bfbf3432a1078adc550484e5b8a151f34.tar.bz2
fork-ledger-5ddb0e9bfbf3432a1078adc550484e5b8a151f34.zip
Output pointer values correctly for 64-bit systems
-rw-r--r--src/op.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op.cc b/src/op.cc
index f1ba61e2..2e098392 100644
--- a/src/op.cc
+++ b/src/op.cc
@@ -637,7 +637,7 @@ bool expr_t::op_t::print(std::ostream& out, const context_t& context) const
void expr_t::op_t::dump(std::ostream& out, const int depth) const
{
out.setf(std::ios::left);
- out.width(10);
+ out.width((sizeof(void *) * 2) + 2);
out << this;
for (int i = 0; i < depth; i++)