From 968a6f3c0ac4690a6fc74e8d84058bce91019c2e Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 15 Jun 2010 10:12:04 +0100 Subject: Changes for building with Visual Studio 2008 --- src/filters.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/filters.cc') diff --git a/src/filters.cc b/src/filters.cc index 69183991..03baadc6 100644 --- a/src/filters.cc +++ b/src/filters.cc @@ -93,7 +93,7 @@ pass_down_posts::pass_down_posts(post_handler_ptr handler, try { item_handler::operator()(*post); } - catch (const std::exception& err) { + catch (const std::exception&) { add_error_context(item_context(*post, _("While handling posting"))); throw; } @@ -256,9 +256,9 @@ void anonymize_posts::render_commodity(amount_t& amt) void anonymize_posts::operator()(post_t& post) { - SHA1 sha; - uint_least32_t message_digest[5]; - bool copy_xact_details = false; + SHA1 sha; + unsigned int message_digest[5]; + bool copy_xact_details = false; if (last_xact != post.xact) { temps.copy_xact(*post.xact); -- cgit v1.2.3