summaryrefslogtreecommitdiff
path: root/src/post.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/post.cc')
-rw-r--r--src/post.cc2
1 files changed, 1 insertions, 1 deletions
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;
}