Module: wine Branch: master Commit: 1ccc52169730079414eb3e4d1a18ec1131bb6ed3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=1ccc52169730079414eb3e4d1a...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Wed Apr 13 19:00:40 2016 +0300
webservices: Fix unsupported options detection (Coverity).
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com Signed-off-by: Hans Leidekker hans@codeweavers.com Signed-off-by: Alexandre Julliard julliard@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;