summaryrefslogtreecommitdiff
path: root/src/xml.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/xml.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/xml.cc')
-rw-r--r--src/xml.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/xml.cc b/src/xml.cc
index 0d04c158..3ab3a5e3 100644
--- a/src/xml.cc
+++ b/src/xml.cc
@@ -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:");