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