From 2d3b4b958926b3ed7d4a5d997121fe91a12f83cc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 7 Nov 2021 19:24:53 +0300 Subject: update for system includes & import libraries --- plugins/Dbx_sqlite/src/dbcontacts.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Dbx_sqlite/src/dbcontacts.cpp') diff --git a/plugins/Dbx_sqlite/src/dbcontacts.cpp b/plugins/Dbx_sqlite/src/dbcontacts.cpp index bd012ee4c8..8ea6d122ae 100755 --- a/plugins/Dbx_sqlite/src/dbcontacts.cpp +++ b/plugins/Dbx_sqlite/src/dbcontacts.cpp @@ -14,7 +14,7 @@ void CDbxSQLite::InitContacts() sqlite3_finalize(stmt); } -LONG CDbxSQLite::GetContactCount() +int CDbxSQLite::GetContactCount() { mir_cslock lock(m_csDbAccess); sqlite3_stmt *stmt = InitQuery("SELECT COUNT(1) FROM contacts LIMIT 1;", qCntCount); @@ -48,7 +48,7 @@ MCONTACT CDbxSQLite::AddContact() return hContact; } -LONG CDbxSQLite::DeleteContact(MCONTACT hContact) +int CDbxSQLite::DeleteContact(MCONTACT hContact) { // global contact cannot be removed if (hContact == 0) @@ -107,7 +107,7 @@ BOOL CDbxSQLite::IsDbContact(MCONTACT hContact) return (cc != nullptr); } -LONG CDbxSQLite::GetContactSize(void) +int CDbxSQLite::GetContactSize(void) { return sizeof(DBCachedContact); } -- cgit v1.2.3