summaryrefslogtreecommitdiff
path: root/src/database/database.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/database/database.hpp')
-rw-r--r--src/database/database.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/database.hpp b/src/database/database.hpp
index 3a99867..1ad62fc 100644
--- a/src/database/database.hpp
+++ b/src/database/database.hpp
@@ -131,7 +131,7 @@ class Database
static void open(const std::string& filename);
template <typename TableType>
- static std::size_t count(const TableType& table)
+ static int64_t count(const TableType& table)
{
CountQuery query{table.get_name()};
return query.execute(Database::db);