diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2015-06-09 20:32:18 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2015-06-09 20:32:18 +0200 |
| commit | a0e21abdfd1e471068fcf0422a0fab39e54e09c2 (patch) | |
| tree | 2812ecdf06ea5a8d993c1253ad4c9b9e629b36c9 /src | |
| parent | 6ba00415232634f9d42c55ac4b2d78931e12c489 (diff) | |
Quickfix needs a cast
Diffstat (limited to 'src')
| -rw-r--r-- | src/event.cc | 3 |
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 |
