summaryrefslogtreecommitdiff
path: root/qif.cc
diff options
context:
space:
mode:
Diffstat (limited to 'qif.cc')
-rw-r--r--qif.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/qif.cc b/qif.cc
index 5d4eb3a5..cd368dc2 100644
--- a/qif.cc
+++ b/qif.cc
@@ -115,8 +115,8 @@ unsigned int qif_parser_t::parse(std::istream& in,
get_line(in);
xact->amount.parse(line);
- unsigned long flags = xact->amount.commodity().flags();
- unsigned short prec = xact->amount.commodity().precision();
+ unsigned char flags = xact->amount.commodity().flags();
+ unsigned char prec = xact->amount.commodity().precision();
if (! def_commodity) {
def_commodity = commodity_t::find_or_create("$");