From 1078d94b73654054bac2458ad8fe0567abbe4dc0 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Sat, 30 Oct 2021 02:46:50 -0400 Subject: fix big mistake that made it not run --- discord/store.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discord/store.hpp') 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 std::enable_if::value, int>::type Bind(int index, T val) { - return m_db->SetError(sqlite3_bind_int64(m_stmt, val, static_cast(val))); + return m_db->SetError(sqlite3_bind_int64(m_stmt, index, val)); } template -- cgit v1.2.3