Rob Shearman : ole32: Fix a potentially confusing combination of conditional and bitwise or operators by adding extra brackets .
Alexandre Julliard
julliard at winehq.org
Wed Feb 13 10:40:09 CST 2008
Module: wine
Branch: master
Commit: bfa6ddaeb772334696d040f116f09d5a146c0012
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bfa6ddaeb772334696d040f116f09d5a146c0012
Author: Rob Shearman <rob at codeweavers.com>
Date: Wed Feb 13 12:35:08 2008 +0000
ole32: Fix a potentially confusing combination of conditional and bitwise or operators by adding extra brackets.
---
dlls/ole32/compobj.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index 55b9125..c800a2c 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -3432,8 +3432,8 @@ HRESULT WINAPI CoWaitForMultipleHandles(DWORD dwFlags, DWORD dwTimeout,
if (message_loop)
{
- DWORD wait_flags = (dwFlags & COWAIT_WAITALL) ? MWMO_WAITALL : 0 |
- (dwFlags & COWAIT_ALERTABLE ) ? MWMO_ALERTABLE : 0;
+ DWORD wait_flags = ((dwFlags & COWAIT_WAITALL) ? MWMO_WAITALL : 0) |
+ ((dwFlags & COWAIT_ALERTABLE ) ? MWMO_ALERTABLE : 0);
TRACE("waiting for rpc completion or window message\n");
More information about the wine-cvs
mailing list