summaryrefslogtreecommitdiff
path: root/src/account.cc
diff options
context:
space:
mode:
authorEugene Morozov <eugene@cactus-mouse.com>2009-02-25 16:19:46 +0000
committerJohn Wiegley <johnw@newartisans.com>2009-02-25 23:12:38 -0400
commit0667bc1a70db29da3ebc3bfb668a3c99e707509a (patch)
tree6048414f947108692712ccd39029492d1224290b /src/account.cc
parent7d0491c5feed3ee87bff98a99b543baa383ecfdb (diff)
downloadfork-ledger-0667bc1a70db29da3ebc3bfb668a3c99e707509a.tar.gz
fork-ledger-0667bc1a70db29da3ebc3bfb668a3c99e707509a.tar.bz2
fork-ledger-0667bc1a70db29da3ebc3bfb668a3c99e707509a.zip
Fix for sensitive compilation environments.
Diffstat (limited to 'src/account.cc')
-rw-r--r--src/account.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/account.cc b/src/account.cc
index 6651c575..d65b6911 100644
--- a/src/account.cc
+++ b/src/account.cc
@@ -176,12 +176,12 @@ namespace {
value_t get_count(account_t& account) {
assert(account.xdata_);
- return account.xdata_->total_count;
+ return long(account.xdata_->total_count);
}
value_t get_subcount(account_t& account) {
assert(account.xdata_);
- return account.xdata_->count;
+ return long(account.xdata_->count);
}
value_t get_amount(account_t& account) {