summaryrefslogtreecommitdiff
path: root/qif.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2006-03-04 18:34:29 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:29 -0400
commitd02f74efea3e6b631810bfd3c3d8adcaa4299902 (patch)
treef8c8f5f62b4144d0af1ebc7321903736551ee21b /qif.cc
parent326235ffbe2fcaf3fe612b8852051f7dae08c47f (diff)
downloadfork-ledger-d02f74efea3e6b631810bfd3c3d8adcaa4299902.tar.gz
fork-ledger-d02f74efea3e6b631810bfd3c3d8adcaa4299902.tar.bz2
fork-ledger-d02f74efea3e6b631810bfd3c3d8adcaa4299902.zip
*** empty log message ***
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("$");