summaryrefslogtreecommitdiff
path: root/src/cache.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-29 18:23:57 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-29 18:23:57 -0400
commit05c77351e458c08873c813264005f61f828b5383 (patch)
treefa83d3826d8c113b5ec273671ce6cab3d9fe5388 /src/cache.cc
parent119b5dc1975bfc00fb3f376e6ba28594dee12583 (diff)
downloadledger-05c77351e458c08873c813264005f61f828b5383.tar.gz
ledger-05c77351e458c08873c813264005f61f828b5383.tar.bz2
ledger-05c77351e458c08873c813264005f61f828b5383.zip
Stopped using the generic "unsigned int" in favor of more specific types.
Diffstat (limited to 'src/cache.cc')
-rw-r--r--src/cache.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cache.cc b/src/cache.cc
index f0a111e7..4e546718 100644
--- a/src/cache.cc
+++ b/src/cache.cc
@@ -517,10 +517,10 @@ void write_account(std::ostream& out, account_t * account)
write_account(out, pair.second);
}
-unsigned int read_journal(std::istream& in,
- const path& file,
- journal_t& journal,
- account_t * master)
+std::size_t read_journal(std::istream& in,
+ const path& file,
+ journal_t& journal,
+ account_t * master)
{
using namespace binary;