diff mbox series

[2/4] libselinux: enclose macro definition in parenthesis

Message ID 20220520130847.10958-2-cgzones@googlemail.com (mailing list archive)
State Accepted
Commit 29e5233d85bb
Headers show
Series [1/4] libselinux: add man page redirections | expand

Commit Message

Christian Göttsche May 20, 2022, 1:08 p.m. UTC
Avoid potential precedence issues.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
---
 libselinux/include/selinux/avc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libselinux/include/selinux/avc.h b/libselinux/include/selinux/avc.h
index 9b23357a..4bbd2382 100644
--- a/libselinux/include/selinux/avc.h
+++ b/libselinux/include/selinux/avc.h
@@ -24,7 +24,7 @@  struct security_id {
 };
 typedef struct security_id *security_id_t;
 
-#define SECSID_WILD (security_id_t)NULL	/* unspecified SID */
+#define SECSID_WILD ((security_id_t)NULL)	/* unspecified SID */
 
 /**
  * avc_sid_to_context - get copy of context corresponding to SID.