From 1039b2829a264280493ba0fa979214fe024dc70c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 26 Dec 2021 17:06:04 +0300 Subject: WORD -> uint16_t --- plugins/CmdLine/src/mimcmd_handlers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/CmdLine/src') 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; -- cgit v1.2.3