From 85520d8c70ebc43c9d6b98224ce6b1d510680c3a Mon Sep 17 00:00:00 2001 From: dapan1121 Date: Fri, 4 Nov 2022 15:10:42 +0800 Subject: [PATCH] fix: fix msg mask check issue --- include/common/tmsg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/common/tmsg.h b/include/common/tmsg.h index 1781374165..c0ac7da5bf 100644 --- a/include/common/tmsg.h +++ b/include/common/tmsg.h @@ -218,7 +218,7 @@ typedef struct SEp { #define SHOW_REWRITE_MASK() (1 << 0) -#define TEST_SHOW_REWRITE_MASK(m) ((m) & SHOW_REWRITE_MASK() != 0) +#define TEST_SHOW_REWRITE_MASK(m) (((m) & SHOW_REWRITE_MASK()) != 0) typedef struct { int32_t contLen;