summaryrefslogtreecommitdiff
path: root/src/core/stdpopup
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-26 17:06:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-26 17:06:04 +0300
commit1039b2829a264280493ba0fa979214fe024dc70c (patch)
tree8fa6a60eb46627582c372b56a4a1d4754d6732c3 /src/core/stdpopup
parent62a186697df33c96dc1a6dac0f4dfc38652fb96f (diff)
WORD -> uint16_t
Diffstat (limited to 'src/core/stdpopup')
-rw-r--r--src/core/stdpopup/src/services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stdpopup/src/services.cpp b/src/core/stdpopup/src/services.cpp
index 52bdcd5dbc..e6a1be8e7b 100644
--- a/src/core/stdpopup/src/services.cpp
+++ b/src/core/stdpopup/src/services.cpp
@@ -304,7 +304,7 @@ static INT_PTR RegisterPopupClass(WPARAM, LPARAM lParam)
char setting[256];
mir_snprintf(setting, "%s/Timeout", pc->pszName);
pc->iSeconds = g_plugin.getWord(setting, pc->iSeconds);
- if (pc->iSeconds == (WORD)-1) pc->iSeconds = -1;
+ if (pc->iSeconds == (uint16_t)-1) pc->iSeconds = -1;
mir_snprintf(setting, "%s/TextCol", pc->pszName);
pc->colorText = (COLORREF)g_plugin.getDword(setting, (DWORD)pc->colorText);
mir_snprintf(setting, "%s/BgCol", pc->pszName);