Skip to content

Commit

Permalink
Explicitly use long long in SQLite to match rest of mailsync
Browse files Browse the repository at this point in the history
  • Loading branch information
bengotow committed Dec 31, 2024
1 parent dc3cb75 commit 61f818b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Vendor/SQLiteCpp/include/SQLiteCpp/Statement.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
*/
Expand Down
2 changes: 1 addition & 1 deletion Vendor/SQLiteCpp/src/Statement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 61f818b

Please sign in to comment.