summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/account.cc4
-rw-r--r--src/post.cc2
2 files changed, 3 insertions, 3 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) {
diff --git a/src/post.cc b/src/post.cc
index 5c188a6e..b10ab81a 100644
--- a/src/post.cc
+++ b/src/post.cc
@@ -189,7 +189,7 @@ namespace {
value_t get_count(post_t& post) {
if (post.xdata_)
- return post.xdata_->count;
+ return long(post.xdata_->count);
else
return 1L;
}