summaryrefslogtreecommitdiff
path: root/src/journal.h
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/journal.h
parent119b5dc1975bfc00fb3f376e6ba28594dee12583 (diff)
downloadfork-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/journal.h')
-rw-r--r--src/journal.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/journal.h b/src/journal.h
index 68ecaefd..2a4a4d9d 100644
--- a/src/journal.h
+++ b/src/journal.h
@@ -96,11 +96,11 @@ public:
virtual bool test(std::istream& in) const = 0;
- virtual unsigned int parse(std::istream& in,
- session_t& session,
- journal_t& journal,
- account_t * master = NULL,
- const path * original_file = NULL) = 0;
+ virtual std::size_t parse(std::istream& in,
+ session_t& session,
+ journal_t& journal,
+ account_t * master = NULL,
+ const path * original_file = NULL) = 0;
};
class binary_parser_t : public parser_t
@@ -108,11 +108,11 @@ public:
public:
virtual bool test(std::istream& in) const;
- virtual unsigned int parse(std::istream& in,
- session_t& session,
- journal_t& journal,
- account_t * master = NULL,
- const path * original_file = NULL);
+ virtual std::size_t parse(std::istream& in,
+ session_t& session,
+ journal_t& journal,
+ account_t * master = NULL,
+ const path * original_file = NULL);
};
bool valid() const;