summaryrefslogtreecommitdiff
path: root/plugins/IEHistory/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/IEHistory/src
parent1039b2829a264280493ba0fa979214fe024dc70c (diff)
DWORD -> uint32_t
Diffstat (limited to 'plugins/IEHistory/src')
-rw-r--r--plugins/IEHistory/src/IEHistory.cpp4
-rw-r--r--plugins/IEHistory/src/dlgHandlers.cpp2
-rw-r--r--plugins/IEHistory/src/stdafx.h4
-rw-r--r--plugins/IEHistory/src/utils.cpp2
4 files changed, 6 insertions, 6 deletions
diff --git a/plugins/IEHistory/src/IEHistory.cpp b/plugins/IEHistory/src/IEHistory.cpp
index d0d5e853be..ed389e28a8 100644
--- a/plugins/IEHistory/src/IEHistory.cpp
+++ b/plugins/IEHistory/src/IEHistory.cpp
@@ -28,7 +28,7 @@ HINSTANCE hInstance;
MWindowList hOpenWindowsList = nullptr;
HMODULE hUxTheme = nullptr;
-BOOL(WINAPI *MyEnableThemeDialogTexture)(HANDLE, DWORD) = nullptr;
+BOOL(WINAPI *MyEnableThemeDialogTexture)(HANDLE, uint32_t) = nullptr;
/////////////////////////////////////////////////////////////////////////////////////////
@@ -68,7 +68,7 @@ int CMPlugin::Load()
InitCommonControlsEx(&icex);
if ((hUxTheme = LoadLibraryA("uxtheme.dll")) != nullptr)
- MyEnableThemeDialogTexture = (BOOL(WINAPI *)(HANDLE, DWORD))GetProcAddress(hUxTheme, "EnableThemeDialogTexture");
+ MyEnableThemeDialogTexture = (BOOL(WINAPI *)(HANDLE, uint32_t))GetProcAddress(hUxTheme, "EnableThemeDialogTexture");
// all initialization here
hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_HISTORYICON));
diff --git a/plugins/IEHistory/src/dlgHandlers.cpp b/plugins/IEHistory/src/dlgHandlers.cpp
index 7d8e8a62da..7c650638dc 100644
--- a/plugins/IEHistory/src/dlgHandlers.cpp
+++ b/plugins/IEHistory/src/dlgHandlers.cpp
@@ -143,7 +143,7 @@ void FillIEViewInfo(IEVIEWEVENTDATA *fillData, DBEVENTINFO dbInfo, uint8_t *blob
}
}
-DWORD WINAPI WorkerThread(LPVOID lpvData)
+uint32_t WINAPI WorkerThread(LPVOID lpvData)
{
Log("%s", "Inside worker thread ...");
WorkerThreadData *data = (WorkerThreadData *)lpvData;
diff --git a/plugins/IEHistory/src/stdafx.h b/plugins/IEHistory/src/stdafx.h
index d0d04d4175..8aa31c8ae1 100644
--- a/plugins/IEHistory/src/stdafx.h
+++ b/plugins/IEHistory/src/stdafx.h
@@ -59,7 +59,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
struct CMPlugin : public PLUGIN<CMPlugin>
{
CMOption<uint8_t> bEnableRtl, bShowLastFirst, bUseWorker;
- CMOption<DWORD> iLoadCount;
+ CMOption<uint32_t> iLoadCount;
CMPlugin();
@@ -70,6 +70,6 @@ struct CMPlugin : public PLUGIN<CMPlugin>
extern HICON hIcon; //history icon
extern MWindowList hOpenWindowsList;
-extern BOOL (WINAPI *MyEnableThemeDialogTexture)(HANDLE, DWORD);
+extern BOOL (WINAPI *MyEnableThemeDialogTexture)(HANDLE, uint32_t);
#endif
diff --git a/plugins/IEHistory/src/utils.cpp b/plugins/IEHistory/src/utils.cpp
index 8084269bea..c96baeff7c 100644
--- a/plugins/IEHistory/src/utils.cpp
+++ b/plugins/IEHistory/src/utils.cpp
@@ -95,7 +95,7 @@ void UnixTimeToFileTime(time_t t, LPFILETIME pft)
LONGLONG ll;
ll = Int32x32To64(t, 10000000) + 116444736000000000;
- pft->dwLowDateTime = (DWORD)ll;
+ pft->dwLowDateTime = (uint32_t)ll;
pft->dwHighDateTime = ll >> 32;
}