From 48d3cf593e0ffb9f46b17e505e3a3a85d88dc8c2 Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Fri, 8 Jul 2022 07:56:20 -0500 Subject: [PATCH] tests/api.c: fix bugprone-macro-parentheses in DUW_TEST(). --- tests/api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/api.c b/tests/api.c index e083922aa..40715df58 100644 --- a/tests/api.c +++ b/tests/api.c @@ -55588,8 +55588,8 @@ static void DUW_TEST_print_window_binary(word32 h, word32 l, word32* w) { DUW_TEST_print_window_binary((a), (b), (e)); \ AssertIntEQ((c), (f)); \ AssertIntEQ((d), (g)); \ - AssertIntEQ((e[1]), (h)); \ - AssertIntEQ((e[0]), (i)); \ + AssertIntEQ((e)[1], (h)); \ + AssertIntEQ((e)[0], (i)); \ } while (0) static void test_wolfSSL_DtlsUpdateWindow(void)