diff options
author | George Hazan <ghazan@miranda.im> | 2021-12-26 20:31:39 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-12-26 20:31:39 +0300 |
commit | cddcd7483a7c472598af098e759e5d309024f606 (patch) | |
tree | b0a227d6e087c41958cc84d27bc323353248aae5 /plugins/MyDetails | |
parent | 1039b2829a264280493ba0fa979214fe024dc70c (diff) |
DWORD -> uint32_t
Diffstat (limited to 'plugins/MyDetails')
-rw-r--r-- | plugins/MyDetails/src/data.cpp | 2 | ||||
-rw-r--r-- | plugins/MyDetails/src/frame.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MyDetails/src/data.cpp b/plugins/MyDetails/src/data.cpp index b6a4c95ecf..da53008a27 100644 --- a/plugins/MyDetails/src/data.cpp +++ b/plugins/MyDetails/src/data.cpp @@ -80,7 +80,7 @@ void Protocol::lcopystr(wchar_t *dest, wchar_t *src, size_t maxlen) {
if (mir_wstrcmp(dest, src) != 0) {
data_changed = true;
- mir_wstrncpy(dest, src, (DWORD)maxlen);
+ mir_wstrncpy(dest, src, (uint32_t)maxlen);
}
}
diff --git a/plugins/MyDetails/src/frame.cpp b/plugins/MyDetails/src/frame.cpp index 779b71327a..6179262aac 100644 --- a/plugins/MyDetails/src/frame.cpp +++ b/plugins/MyDetails/src/frame.cpp @@ -1463,7 +1463,7 @@ static void ShowProtocolStatusMenu(HWND hwnd, MyDetailsFrameData *data, Protocol TranslateMenu(submenu);
// Hide menu
- DWORD flags = CallProtoService(proto->name, PS_GETCAPS, PFLAGNUM_2, 0);
+ uint32_t flags = CallProtoService(proto->name, PS_GETCAPS, PFLAGNUM_2, 0);
for (int i = GetMenuItemCount(submenu) - 1; i >= 0; i--)
if (!(flags & statusModePf2List[i]))
RemoveMenu(submenu, i, MF_BYPOSITION);
|