summaryrefslogtreecommitdiff
path: root/plugins/CmdLine/src/mimcmd_handlers.cpp
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 /plugins/CmdLine/src/mimcmd_handlers.cpp
parent62a186697df33c96dc1a6dac0f4dfc38652fb96f (diff)
WORD -> uint16_t
Diffstat (limited to 'plugins/CmdLine/src/mimcmd_handlers.cpp')
-rw-r--r--plugins/CmdLine/src/mimcmd_handlers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CmdLine/src/mimcmd_handlers.cpp b/plugins/CmdLine/src/mimcmd_handlers.cpp
index ac0342869c..fd85719cbe 100644
--- a/plugins/CmdLine/src/mimcmd_handlers.cpp
+++ b/plugins/CmdLine/src/mimcmd_handlers.cpp
@@ -813,7 +813,7 @@ void HandleDatabaseCommand(PCommand command, TArgument *argv, int argc, PReply r
break;
case VALUE_WORD:
- db_set_w(0, module, key, (*(WORD *)value));
+ db_set_w(0, module, key, (*(uint16_t *)value));
wrote = Translate("word");
break;
@@ -1117,7 +1117,7 @@ int ContactMatchSearch(MCONTACT hContact, wchar_t *contact, wchar_t *id, char *a
char protocol[128];
AccountName2Protocol(_A2T(account), protocol, _countof(protocol));
- WORD contactStatus = db_get_w(hContact, protocol, "Status", ID_STATUS_OFFLINE);
+ uint16_t contactStatus = db_get_w(hContact, protocol, "Status", ID_STATUS_OFFLINE);
if (searchStatus != contactStatus) {
matches = 0;