From: Daniel Stenberg Date: Mon, 23 Sep 2019 08:48:06 +0000 (+0200) Subject: vauth: The parameter 'status' must be surrounded by parentheses X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=89d972f24cbfab93d3b9be69417d1ea58e7024af;p=curl vauth: The parameter 'status' must be surrounded by parentheses PVS-Studio warning Fixes #4402 --- diff --git a/lib/vauth/vauth.h b/lib/vauth/vauth.h index 73bd25ed5..a1a557d2a 100644 --- a/lib/vauth/vauth.h +++ b/lib/vauth/vauth.h @@ -43,7 +43,7 @@ struct negotiatedata; #endif #if defined(USE_WINDOWS_SSPI) -#define GSS_ERROR(status) (status & 0x80000000) +#define GSS_ERROR(status) ((status) & 0x80000000) #endif /* This is used to build a SPN string */