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:
parent
9b6881a577
commit
1ccc521697
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue