Fix a few warnings

This commit is contained in:
louiz’
2018-02-11 23:39:42 +01:00
parent d705541435
commit fd9c713938
5 changed files with 13 additions and 3 deletions
+9
View File
@@ -21,6 +21,15 @@ void actual_bind(Statement& statement, const OptionalBool& value, int index)
statement.bind_int64(index, -1);
}
void actual_bind(Statement& statement, const std::size_t value, int index)
{
actual_bind(statement, static_cast<std::int64_t>(value), index);
}
void actual_bind(Statement& statement, const int value, int index)
{
actual_bind(statement, static_cast<std::int64_t>(value), index);
}
void actual_add_param(Query& query, const std::string& val)
{