From 257cb1fb08aec638eace44ab925d7da7dafca045 Mon Sep 17 00:00:00 2001 From: olszomal Date: Thu, 1 Dec 2022 11:45:15 +0100 Subject: [PATCH] Add missing parentheses --- msi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/msi.h b/msi.h index 0099c78..eff3007 100644 --- a/msi.h +++ b/msi.h @@ -123,10 +123,10 @@ #endif #ifndef LOWORD -#define LOWORD(x) (x & 0xFFFF) +#define LOWORD(x) ((x) & 0xFFFF) #endif /* LOWORD */ #ifndef HIWORD -#define HIWORD(x) ((x >> 16) & 0xFFFF) +#define HIWORD(x) (((x) >> 16) & 0xFFFF) #endif /* HIWORD */ #if BYTE_ORDER == BIG_ENDIAN