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/TooltipNotify/src/TooltipNotify.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/TooltipNotify/src/TooltipNotify.cpp') diff --git a/plugins/TooltipNotify/src/TooltipNotify.cpp b/plugins/TooltipNotify/src/TooltipNotify.cpp index 8aae437349..c8b1c5bea2 100644 --- a/plugins/TooltipNotify/src/TooltipNotify.cpp +++ b/plugins/TooltipNotify/src/TooltipNotify.cpp @@ -167,8 +167,8 @@ int CTooltipNotify::ProtoAck(WPARAM, LPARAM lParam) ACKDATA *ack = (ACKDATA*)lParam; if ((ack == nullptr) || (ack->type != ACKTYPE_STATUS)) return 0; - WORD wNewStatus = (WORD)ack->lParam; - WORD wOldStatus = (UINT_PTR)ack->hProcess; + uint16_t wNewStatus = (uint16_t)ack->lParam; + uint16_t wOldStatus = (UINT_PTR)ack->hProcess; if (wOldStatus == wNewStatus) return 0; //Useless message. char *szProtocol = (char *)ack->szModule; @@ -218,7 +218,7 @@ int CTooltipNotify::ContactSettingChanged(WPARAM hContact, LPARAM lParam) if (idle && !m_sOptions.bIdle) return 0; - WORD wNewStatus = cws->value.wVal; + uint16_t wNewStatus = cws->value.wVal; switch (wNewStatus) { case ID_STATUS_OFFLINE: if (!m_sOptions.bOffline) return 0; -- cgit v1.2.3