summaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-10-30 02:46:50 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2021-10-30 02:46:50 -0400
commit1078d94b73654054bac2458ad8fe0567abbe4dc0 (patch)
tree0ec078b92b416b36dd0d40bb62ad716e15fd6367 /discord
parent12c105623cf236a632d29f41b56c3f1e8df27416 (diff)
downloadabaddon-portaudio-1078d94b73654054bac2458ad8fe0567abbe4dc0.tar.gz
abaddon-portaudio-1078d94b73654054bac2458ad8fe0567abbe4dc0.zip
fix big mistake that made it not run
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>