summaryrefslogtreecommitdiff
path: root/plugins/DbChecker/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-26 20:31:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-26 20:31:39 +0300
commitcddcd7483a7c472598af098e759e5d309024f606 (patch)
treeb0a227d6e087c41958cc84d27bc323353248aae5 /plugins/DbChecker/src
parent1039b2829a264280493ba0fa979214fe024dc70c (diff)
DWORD -> uint32_t
Diffstat (limited to 'plugins/DbChecker/src')
-rw-r--r--plugins/DbChecker/src/stdafx.h2
-rw-r--r--plugins/DbChecker/src/wizard.cpp4
-rw-r--r--plugins/DbChecker/src/worker.cpp4
3 files changed, 5 insertions, 5 deletions
diff --git a/plugins/DbChecker/src/stdafx.h b/plugins/DbChecker/src/stdafx.h
index 9d2213a64c..7453cc1686 100644
--- a/plugins/DbChecker/src/stdafx.h
+++ b/plugins/DbChecker/src/stdafx.h
@@ -62,7 +62,7 @@ struct DbToolOptions : public MZeroedObject
MDatabaseCommon *db;
MIDatabaseChecker *dbChecker;
- DWORD error;
+ uint32_t error;
HANDLE hEventRun, hEventAbort;
bool bFinished, bAutoExit, bOwnsDb, bMarkRead, bCheckUtf;
wchar_t filename[MAX_PATH];
diff --git a/plugins/DbChecker/src/wizard.cpp b/plugins/DbChecker/src/wizard.cpp
index 370b3935a1..c19fab31d6 100644
--- a/plugins/DbChecker/src/wizard.cpp
+++ b/plugins/DbChecker/src/wizard.cpp
@@ -28,8 +28,8 @@ HFONT hBoldFont = nullptr;
static BOOL CALLBACK MyControlsEnumChildren(HWND hwnd, LPARAM)
{
- DWORD style = GetWindowLongPtr(hwnd, GWL_STYLE);
- DWORD exstyle = GetWindowLongPtr(hwnd, GWL_EXSTYLE);
+ uint32_t style = GetWindowLongPtr(hwnd, GWL_STYLE);
+ uint32_t exstyle = GetWindowLongPtr(hwnd, GWL_EXSTYLE);
char szClass[64];
int makeBold = 0;
diff --git a/plugins/DbChecker/src/worker.cpp b/plugins/DbChecker/src/worker.cpp
index 390dd42921..732119bc46 100644
--- a/plugins/DbChecker/src/worker.cpp
+++ b/plugins/DbChecker/src/worker.cpp
@@ -50,7 +50,7 @@ static bool ConvertOldEvent(DBEVENTINFO &dbei)
mir_free(dbei.pBlob);
dbei.flags |= DBEF_UTF;
- dbei.cbBlob = (DWORD)mir_strlen(utf8str);
+ dbei.cbBlob = (uint32_t)mir_strlen(utf8str);
dbei.pBlob = (uint8_t*)utf8str;
return true;
}
@@ -61,7 +61,7 @@ void __cdecl WorkerThread(DbToolOptions *opts)
AddToStatus(STATUS_MESSAGE, TranslateT("Database worker thread activated"));
- DWORD sp = 0;
+ uint32_t sp = 0;
if (opts->bMarkRead || opts->bCheckUtf) {
int nCount = 0, nUtfCount = 0;