diff options
Diffstat (limited to 'src/filters.cc')
-rw-r--r-- | src/filters.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filters.cc b/src/filters.cc index b5b7fb19..eb397232 100644 --- a/src/filters.cc +++ b/src/filters.cc @@ -238,7 +238,7 @@ void anonymize_posts::render_commodity(amount_t& amt) void anonymize_posts::operator()(post_t& post) { boost::uuids::detail::sha1 sha; - unsigned int message_digest[5]; + unsigned char message_digest[20]; bool copy_xact_details = false; if (last_xact != post.xact) { @@ -1269,7 +1269,7 @@ void budget_posts::report_budget_items(const date_t& date) foreach (pending_posts_list::iterator& i, posts_to_erase) pending_posts.erase(i); } - + if (pending_posts.size() == 0) return; |