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/NewXstatusNotify/src/stdafx.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/NewXstatusNotify/src/stdafx.h') diff --git a/plugins/NewXstatusNotify/src/stdafx.h b/plugins/NewXstatusNotify/src/stdafx.h index 270cb562d0..d4fde75939 100644 --- a/plugins/NewXstatusNotify/src/stdafx.h +++ b/plugins/NewXstatusNotify/src/stdafx.h @@ -149,8 +149,8 @@ typedef struct { /* MCONTACT hContact = wParam; -WORD oldStatus = LOWORD(lParam); -WORD newStatus = HIWORD(lParam); +uint16_t oldStatus = LOWORD(lParam); +uint16_t newStatus = HIWORD(lParam); oldStatus is the status the contact was before the change. newStatus is the status the contact is now. Cast them to (int) if you need them that way. -- cgit v1.2.3