From 61f818b622a2505e2386a0f10363508dfd1d0fbc Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Tue, 31 Dec 2024 15:16:07 -0600 Subject: [PATCH] Explicitly use long long in SQLite to match rest of mailsync --- Vendor/SQLiteCpp/include/SQLiteCpp/Statement.h | 2 +- Vendor/SQLiteCpp/src/Statement.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Vendor/SQLiteCpp/include/SQLiteCpp/Statement.h b/Vendor/SQLiteCpp/include/SQLiteCpp/Statement.h index 2f3adf7..323c3f8 100644 --- a/Vendor/SQLiteCpp/include/SQLiteCpp/Statement.h +++ b/Vendor/SQLiteCpp/include/SQLiteCpp/Statement.h @@ -134,7 +134,7 @@ class SQLITECPP_API Statement /** * @brief Bind a 64bits int value to a parameter "?", "?NNN", ":VVV", "@VVV" or "$VVV" in the SQL prepared statement (aIndex >= 1) */ - void bind(const int aIndex, const int64_t aValue); + void bind(const int aIndex, const long long int aValue); /** * @brief Bind a double (64bits float) value to a parameter "?", "?NNN", ":VVV", "@VVV" or "$VVV" in the SQL prepared statement (aIndex >= 1) */ diff --git a/Vendor/SQLiteCpp/src/Statement.cpp b/Vendor/SQLiteCpp/src/Statement.cpp index 96f25d0..07f8e5d 100644 --- a/Vendor/SQLiteCpp/src/Statement.cpp +++ b/Vendor/SQLiteCpp/src/Statement.cpp @@ -95,7 +95,7 @@ void Statement::bind(const int aIndex, const uint32_t aValue) } // Bind a 64bits int value to a parameter "?", "?NNN", ":VVV", "@VVV" or "$VVV" in the SQL prepared statement -void Statement::bind(const int aIndex, const int64_t aValue) +void Statement::bind(const int aIndex, const long long int aValue) { const int ret = sqlite3_bind_int64(getPreparedStatement(), aIndex, aValue); check(ret);