summaryrefslogtreecommitdiff
path: root/src/database/query.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/database/query.hpp')
-rw-r--r--src/database/query.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/query.hpp b/src/database/query.hpp
index ae6e946..c89371f 100644
--- a/src/database/query.hpp
+++ b/src/database/query.hpp
@@ -18,7 +18,7 @@ void actual_bind(Statement& statement, const T& value, int index)
{
static_assert(std::is_integral<T>::value,
"Only a string, an optional-bool or an integer can be used.");
- statement.bind_int64(index, static_cast<int>(value));
+ statement.bind_int64(index, static_cast<std::int64_t>(value));
}
#ifdef DEBUG_SQL_QUERIES