Nikolay Sivov : webservices: Fix unsupported options detection (Coverity).
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Apr 13 11:51:49 CDT 2016
Module: wine
Branch: master
Commit: 1ccc52169730079414eb3e4d1a18ec1131bb6ed3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1ccc52169730079414eb3e4d1a18ec1131bb6ed3
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Wed Apr 13 19:00:40 2016 +0300
webservices: Fix unsupported options detection (Coverity).
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 c2c9d0b..09b370e 100644
--- a/dlls/webservices/reader.c
+++ b/dlls/webservices/reader.c
@@ -2761,7 +2761,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;
More information about the wine-cvs
mailing list