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/xml.cc | |
parent | 119b5dc1975bfc00fb3f376e6ba28594dee12583 (diff) | |
download | ledger-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/xml.cc')
-rw-r--r-- | src/xml.cc | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -36,7 +36,7 @@ namespace ledger { static irr::io::IrrXMLReader * current_parser; -static unsigned int count; +static std::size_t count; static journal_t * curr_journal; static entry_t * curr_entry; @@ -213,11 +213,11 @@ bool xml_parser_t::test(std::istream& in) const return true; } -unsigned int xml_parser_t::parse(std::istream& in, - session_t& session, - journal_t& journal, - account_t * master, - const path * original_file) +std::size_t xml_parser_t::parse(std::istream& in, + session_t& session, + journal_t& journal, + account_t * master, + const path * original_file) { TRACE_START(xml_parsing_total, 1, "Total time spent parsing XML:"); |