diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-15 10:12:04 +0100 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-15 05:14:00 -0400 |
commit | 968a6f3c0ac4690a6fc74e8d84058bce91019c2e (patch) | |
tree | 25874de7e90c34224c842e6b716ca9e82fe01028 /src/filters.cc | |
parent | 76b1ed68509d11308d50710f0542cef8fa437329 (diff) | |
download | fork-ledger-968a6f3c0ac4690a6fc74e8d84058bce91019c2e.tar.gz fork-ledger-968a6f3c0ac4690a6fc74e8d84058bce91019c2e.tar.bz2 fork-ledger-968a6f3c0ac4690a6fc74e8d84058bce91019c2e.zip |
Changes for building with Visual Studio 2008
Diffstat (limited to 'src/filters.cc')
-rw-r--r-- | src/filters.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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<post_t>::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); |