summaryrefslogtreecommitdiff
path: root/plugins/BuddyPounce
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/BuddyPounce
parent1039b2829a264280493ba0fa979214fe024dc70c (diff)
DWORD -> uint32_t
Diffstat (limited to 'plugins/BuddyPounce')
-rw-r--r--plugins/BuddyPounce/src/main.cpp2
-rw-r--r--plugins/BuddyPounce/src/options.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/BuddyPounce/src/main.cpp b/plugins/BuddyPounce/src/main.cpp
index 47216a2169..6afa153bfb 100644
--- a/plugins/BuddyPounce/src/main.cpp
+++ b/plugins/BuddyPounce/src/main.cpp
@@ -224,7 +224,7 @@ INT_PTR AddSimpleMessage(WPARAM wParam, LPARAM lParam)
g_plugin.setWord(hContact, "SendIfTheirStatusIsFLAG", (uint16_t)g_plugin.getWord("SendIfTheirStatusIsFLAG", 1));
g_plugin.setByte(hContact, "Reuse", (uint8_t)g_plugin.getByte("Reuse", 0));
g_plugin.setByte(hContact, "GiveUpDays", (uint8_t)g_plugin.getByte("GiveUpDays", 0));
- g_plugin.setDword(hContact, "GiveUpDate", (DWORD)(g_plugin.getByte(hContact, "GiveUpDays", 0)*SECONDSINADAY));
+ g_plugin.setDword(hContact, "GiveUpDate", (uint32_t)(g_plugin.getByte(hContact, "GiveUpDays", 0)*SECONDSINADAY));
return 0;
}
diff --git a/plugins/BuddyPounce/src/options.cpp b/plugins/BuddyPounce/src/options.cpp
index 6aa967f358..356ed857b9 100644
--- a/plugins/BuddyPounce/src/options.cpp
+++ b/plugins/BuddyPounce/src/options.cpp
@@ -116,7 +116,7 @@ void COptionsDlg::saveLastSetting()
break;
case 4: // Give Up delay
g_plugin.setByte(hContact, "GiveUpDays", (uint8_t)edtNumber.GetInt());
- g_plugin.setDword(hContact, "GiveUpDate", (DWORD)edtNumber.GetInt() * SECONDSINADAY);
+ g_plugin.setDword(hContact, "GiveUpDate", (uint32_t)edtNumber.GetInt() * SECONDSINADAY);
break;
case 5: // confirm window
g_plugin.setWord(hContact, "ConfirmTimeout", (uint16_t)edtNumber.GetInt());