diff options
author | John Wiegley <johnw@newartisans.com> | 2009-01-29 18:23:57 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-01-29 18:23:57 -0400 |
commit | 05c77351e458c08873c813264005f61f828b5383 (patch) | |
tree | fa83d3826d8c113b5ec273671ce6cab3d9fe5388 /src/filters.cc | |
parent | 119b5dc1975bfc00fb3f376e6ba28594dee12583 (diff) | |
download | fork-ledger-05c77351e458c08873c813264005f61f828b5383.tar.gz fork-ledger-05c77351e458c08873c813264005f61f828b5383.tar.bz2 fork-ledger-05c77351e458c08873c813264005f61f828b5383.zip |
Stopped using the generic "unsigned int" in favor of more specific types.
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 a1ac52c4..bfa85a42 100644 --- a/src/filters.cc +++ b/src/filters.cc @@ -125,7 +125,7 @@ void sort_xacts::post_accumulated_xacts() } namespace { - string to_hex(unsigned int * message_digest) + string to_hex(uint_least32_t * message_digest) { std::ostringstream buf; @@ -140,9 +140,9 @@ namespace { void anonymize_xacts::operator()(xact_t& xact) { - SHA1 sha; - unsigned int message_digest[5]; - bool copy_entry_details = false; + SHA1 sha; + uint_least32_t message_digest[5]; + bool copy_entry_details = false; if (last_entry != xact.entry) { entry_temps.push_back(*xact.entry); |