From 47377875ace6b2672a6d26e2a8bb6b54fb3db43a Mon Sep 17 00:00:00 2001 From: Michael Gilbert Date: Tue, 13 Sep 2022 01:46:21 +0100 Subject: [PATCH] fix omitted parentheses warning (-Wparentheses) Gbp-Pq: Topic warnings Gbp-Pq: Name parentheses.patch --- dlls/msvcrt/math.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msvcrt/math.c b/dlls/msvcrt/math.c index 14afad5..2b65e09 100644 --- a/dlls/msvcrt/math.c +++ b/dlls/msvcrt/math.c @@ -5452,7 +5452,7 @@ static void _setfp( unsigned int *cw, unsigned int cw_mask, } /* mask exceptions if needed */ - if (old_fpcr != fpcr && ~(old_fpcr >> 8) & fpsr & 0x9f != fpsr & 0x9f) + if ((old_fpcr != fpcr) && ((~(old_fpcr >> 8) & fpsr & 0x9f) != (fpsr & 0x9f))) { ULONG_PTR mask = fpcr & ~0x9f00; __asm__ __volatile__( "msr fpcr, %0" :: "r" (mask) ); -- 2.30.2