libselinux: enclose macro definition in parenthesis

Avoid potential precedence issues.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: James Carter <jwcart2@gmail.com>
This commit is contained in:
Christian Göttsche 2022-05-20 15:08:45 +02:00 committed by James Carter
parent 90bc03b732
commit 29e5233d85

View File

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