From 588f2ef2f51d7bdf209820bfb244034863601939 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 25 Oct 2009 04:35:19 -0400 Subject: Fixed many compiler warnings from g++ 4.4 --- src/chain.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/chain.cc') 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'. -- cgit v1.2.3