summaryrefslogtreecommitdiff
path: root/plugins/StatusChange/src/main.cpp
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/StatusChange/src/main.cpp
parent1039b2829a264280493ba0fa979214fe024dc70c (diff)
DWORD -> uint32_t
Diffstat (limited to 'plugins/StatusChange/src/main.cpp')
-rw-r--r--plugins/StatusChange/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/StatusChange/src/main.cpp b/plugins/StatusChange/src/main.cpp
index e12160e3ca..e1147faacb 100644
--- a/plugins/StatusChange/src/main.cpp
+++ b/plugins/StatusChange/src/main.cpp
@@ -88,7 +88,7 @@ static int StatusChangeGetMessage(WPARAM, LPARAM hDbEvent)
}
// If is a message sent...
- if (((DWORD)(dbe.flags & ((DWORD)DBEF_SENT))) == ((DWORD)(DBEF_SENT))) {
+ if (((uint32_t)(dbe.flags & ((uint32_t)DBEF_SENT))) == ((uint32_t)(DBEF_SENT))) {
if (send) {
// change status
CallProtoService(dbe.szModule, PS_SETSTATUS, (LPARAM)Options.ChangeTo, 0);
@@ -243,7 +243,7 @@ static INT_PTR CALLBACK DlgProcStatusChangeOpts(HWND hwndDlg, UINT msg, WPARAM w
g_plugin.setByte("MessageSend", (uint8_t)Options.MessageSend);
g_plugin.setByte("FileRead", (uint8_t)Options.FileRead);
g_plugin.setByte("FileSend", (uint8_t)Options.FileSend);
- g_plugin.setDword("ChangeTo", (DWORD)Options.ChangeTo);
+ g_plugin.setDword("ChangeTo", (uint32_t)Options.ChangeTo);
g_plugin.setByte("IfOffline", (uint8_t)Options.IfOffline);
g_plugin.setByte("IfOnline", (uint8_t)Options.IfOnline);
g_plugin.setByte("IfAway", (uint8_t)Options.IfAway);