summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2015-06-09 20:32:18 +0200
committerJoel Klinghed <the_jk@yahoo.com>2015-06-09 20:32:18 +0200
commita0e21abdfd1e471068fcf0422a0fab39e54e09c2 (patch)
tree2812ecdf06ea5a8d993c1253ad4c9b9e629b36c9
parent6ba00415232634f9d42c55ac4b2d78931e12c489 (diff)
Quickfix needs a cast
-rw-r--r--src/event.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/event.cc b/src/event.cc
index 3089cf0..f77e254 100644
--- a/src/event.cc
+++ b/src/event.cc
@@ -227,7 +227,8 @@ std::shared_ptr<DB::Snapshot> open(std::shared_ptr<DB> db) {
order_by.push_back(DB::OrderBy("name"));
return db->select(kEventTable, DB::Condition("start",
DB::Condition::GREATER_EQUAL,
- now), order_by);
+ static_cast<int64_t>(now)),
+ order_by);
}
} // namespace