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>
This commit is contained in:
Nikolay Sivov 2016-04-13 19:00:40 +03:00 committed by Alexandre Julliard
parent 9b6881a577
commit 1ccc521697
1 changed files with 1 additions and 1 deletions

View File

@ -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;