From 7859619275151bfd73717366b8eb30f59bfb78bb Mon Sep 17 00:00:00 2001 From: Donat Zenichev Date: Wed, 13 May 2026 12:51:14 +0200 Subject: [PATCH] MT#61856 call.h: add some macro hygiene Expression like macroses should usually be wrapped in parentheses. Then they behave predictably, when for example embedded into larger expressions, and also so future edits do not accidentally introduce precedence bugs. Change-Id: I4ac485c2e1ed58507f4efeec69de63a6080523c2 --- include/call.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/call.h b/include/call.h index 58fc4c4fb..25e830a5f 100644 --- a/include/call.h +++ b/include/call.h @@ -115,7 +115,7 @@ enum { #endif #define IS_FOREIGN_CALL(c) CALL_ISSET(c, FOREIGN) -#define IS_OWN_CALL(c) !IS_FOREIGN_CALL(c) +#define IS_OWN_CALL(c) (!IS_FOREIGN_CALL(c)) /* flags shared by several of the structs below */ #define SHARED_FLAG_IMPLICIT_RTCP (1LL << 0)