From: Michael Gilbert Date: Tue, 13 Sep 2022 00:46:21 +0000 (+0100) Subject: fix omitted parentheses warning (-Wparentheses) X-Git-Tag: archive/raspbian/7.0_repack-10+rpi1~2^2^2^2~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=47377875ace6b2672a6d26e2a8bb6b54fb3db43a;p=wine.git fix omitted parentheses warning (-Wparentheses) Gbp-Pq: Topic warnings Gbp-Pq: Name parentheses.patch --- 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) );