summaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
Diffstat (limited to 'discord')
-rw-r--r--discord/store.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/store.hpp b/discord/store.hpp
index 791c790..6a9f316 100644
--- a/discord/store.hpp
+++ b/discord/store.hpp
@@ -144,7 +144,7 @@ private:
template<typename T>
typename std::enable_if<std::is_integral<T>::value, int>::type
Bind(int index, T val) {
- return m_db->SetError(sqlite3_bind_int64(m_stmt, val, static_cast<sqlite3_int64>(val)));
+ return m_db->SetError(sqlite3_bind_int64(m_stmt, index, val));
}
template<typename T>