diff options
author | George Hazan <george.hazan@gmail.com> | 2023-10-01 20:32:37 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-10-01 20:32:37 +0300 |
commit | 442980bfbf83cd423b42811e4da0d5b651005781 (patch) | |
tree | 20d60b677eaf223305a908eeafdf3d101f02609b /plugins/Dbx_sqlite/src/dbcheck.cpp | |
parent | 93babaf1665bd2b706a096057fdd06572c159622 (diff) |
fixes #3670 (Long and incorrect loading of messaging window)
Diffstat (limited to 'plugins/Dbx_sqlite/src/dbcheck.cpp')
-rw-r--r-- | plugins/Dbx_sqlite/src/dbcheck.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_sqlite/src/dbcheck.cpp b/plugins/Dbx_sqlite/src/dbcheck.cpp index 7019503eec..9a2a8d642b 100644 --- a/plugins/Dbx_sqlite/src/dbcheck.cpp +++ b/plugins/Dbx_sqlite/src/dbcheck.cpp @@ -36,7 +36,7 @@ int CDbxSQLite::CheckPhase2() while (sqlite3_step(pQuery) == SQLITE_ROW) {
MEVENT hDbEvent = sqlite3_column_int(pQuery, 0);
MCONTACT hContact = sqlite3_column_int(pQuery, 1);
- uint32_t ts = sqlite3_column_int(pQuery, 2);
+ int64_t ts = sqlite3_column_int64(pQuery, 2);
DeleteEventSrt(hDbEvent, hContact, ts);
cb->pfnAddLogMessage(STATUS_ERROR, CMStringW(FORMAT, TranslateT("Orphaned sorting event with wrong event ID %d:%08X, deleting"), hContact, hDbEvent));
|