summaryrefslogtreecommitdiff
path: root/src/chain.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-25 21:27:56 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-25 21:27:56 -0400
commit9dadaebfeb461ba795124281018d0f7eac200cf4 (patch)
tree941243868b1dcacd68cbd52a2f96e40bf70a5d3b /src/chain.cc
parentf35bc939c96c3a3bf09c5881d638b5ba60449c03 (diff)
parente696bfd913a10edd19f9e35eb1aee2c97b11e7f6 (diff)
downloadfork-ledger-9dadaebfeb461ba795124281018d0f7eac200cf4.tar.gz
fork-ledger-9dadaebfeb461ba795124281018d0f7eac200cf4.tar.bz2
fork-ledger-9dadaebfeb461ba795124281018d0f7eac200cf4.zip
Merge branch 'next'
Diffstat (limited to 'src/chain.cc')
-rw-r--r--src/chain.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/chain.cc b/src/chain.cc
index 7b9083f0..25f4833c 100644
--- a/src/chain.cc
+++ b/src/chain.cc
@@ -65,10 +65,10 @@ post_handler_ptr chain_post_handlers(report_t& report,
if (report.HANDLED(head_) || report.HANDLED(tail_))
handler.reset
(new truncate_xacts(handler,
- report.HANDLED(head_) ?
- report.HANDLER(head_).value.to_long() : 0,
- report.HANDLED(tail_) ?
- report.HANDLER(tail_).value.to_long() : 0));
+ report.HANDLED(head_) ?
+ report.HANDLER(head_).value.to_int() : 0,
+ report.HANDLED(tail_) ?
+ report.HANDLER(tail_).value.to_int() : 0));
// filter_posts will only pass through posts matching the
// `display_predicate'.