[PATCH] webservices: Fix unsupported options detection (Coverity)
Nikolay Sivov
nsivov at codeweavers.com
Wed Apr 13 11:00:40 CDT 2016
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/webservices/reader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/webservices/reader.c b/dlls/webservices/reader.c
index 8191aa5..0b99aa1 100644
--- a/dlls/webservices/reader.c
+++ b/dlls/webservices/reader.c
@@ -2697,7 +2697,7 @@ static HRESULT read_type_text( struct reader *reader, const WS_FIELD_DESCRIPTION
static WS_READ_OPTION map_field_options( WS_TYPE type, ULONG options )
{
- if (options & !(WS_FIELD_POINTER | WS_FIELD_OPTIONAL))
+ if (options & ~(WS_FIELD_POINTER | WS_FIELD_OPTIONAL))
{
FIXME( "options %08x not supported\n", options );
return 0;
--
2.8.0.rc3
More information about the wine-patches
mailing list