projects
/
wine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39b0e2c
)
fix omitted parentheses warning (-Wparentheses)
author
Michael Gilbert
<mgilbert@debian.org>
Tue, 13 Sep 2022 00:46:21 +0000
(
01:46
+0100)
committer
Michael Gilbert
<mgilbert@debian.org>
Tue, 13 Sep 2022 00:46:21 +0000
(
01:46
+0100)
Gbp-Pq: Topic warnings
Gbp-Pq: Name parentheses.patch
dlls/msvcrt/math.c
patch
|
blob
|
history
diff --git
a/dlls/msvcrt/math.c
b/dlls/msvcrt/math.c
index 14afad5fb4569600c8171ed83352b8b05025225b..2b65e0986c7495b261301eeeee72408ba480899a 100644
(file)
--- 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) );