diff options
author | George Hazan <ghazan@miranda.im> | 2021-12-26 17:06:04 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-12-26 17:06:04 +0300 |
commit | 1039b2829a264280493ba0fa979214fe024dc70c (patch) | |
tree | 8fa6a60eb46627582c372b56a4a1d4754d6732c3 /plugins/PluginUpdater | |
parent | 62a186697df33c96dc1a6dac0f4dfc38652fb96f (diff) |
WORD -> uint16_t
Diffstat (limited to 'plugins/PluginUpdater')
-rw-r--r-- | plugins/PluginUpdater/src/Options.cpp | 2 | ||||
-rw-r--r-- | plugins/PluginUpdater/src/checksum.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/PluginUpdater/src/Options.cpp b/plugins/PluginUpdater/src/Options.cpp index 87e195a920..508cb82594 100644 --- a/plugins/PluginUpdater/src/Options.cpp +++ b/plugins/PluginUpdater/src/Options.cpp @@ -471,7 +471,7 @@ public: INT_PTR DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) override
{
if (msg == WM_COMMAND) {
- WORD idCtrl = LOWORD(wParam), wNotifyCode = HIWORD(wParam);
+ uint16_t idCtrl = LOWORD(wParam), wNotifyCode = HIWORD(wParam);
if (wNotifyCode == CPN_COLOURCHANGED) {
if (idCtrl > 40070) {
//It's a color picker change. idCtrl is the control id.
diff --git a/plugins/PluginUpdater/src/checksum.cpp b/plugins/PluginUpdater/src/checksum.cpp index 3e98cc82a7..39beb73c49 100644 --- a/plugins/PluginUpdater/src/checksum.cpp +++ b/plugins/PluginUpdater/src/checksum.cpp @@ -109,7 +109,7 @@ LBL_NotPE: if (pINTH->Signature != IMAGE_NT_SIGNATURE)
goto LBL_NotPE;
- WORD machine = pINTH->FileHeader.Machine;
+ uint16_t machine = pINTH->FileHeader.Machine;
DWORD sections = pINTH->FileHeader.NumberOfSections;
if (!sections)
return RESULT_INVALID;
@@ -241,7 +241,7 @@ LBL_NotPE: break;
}
- len -= sizeof(WORD);
+ len -= sizeof(uint16_t);
pw++;
}
}
|