]> granicus.if.org Git - curl/commitdiff
vauth: The parameter 'status' must be surrounded by parentheses
authorDaniel Stenberg <daniel@haxx.se>
Mon, 23 Sep 2019 08:48:06 +0000 (10:48 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 23 Sep 2019 20:44:01 +0000 (22:44 +0200)
PVS-Studio warning
Fixes #4402

lib/vauth/vauth.h

index 73bd25ed5ee2f9df51db949f3c47f13fec3bf79b..a1a557d2a184e4e222ceae0708c02fed95809651 100644 (file)
@@ -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 */