From 618790d4d5a2fd3b410753aa3a4060a55976ca2a Mon Sep 17 00:00:00 2001 From: bel2125 Date: Wed, 10 Sep 2025 00:26:36 +0200 Subject: [PATCH] Unittest: fix alignment --- unittest/timertest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittest/timertest.c b/unittest/timertest.c index 17716d16..e445421b 100644 --- a/unittest/timertest.c +++ b/unittest/timertest.c @@ -97,8 +97,8 @@ action_dec_to_0(void *arg) START_TEST(test_timer_cyclic) { + static ptrdiff_t c[TIMERS_IN_TEST * 2]; struct mg_context ctx; - ptrdiff_t c[TIMERS_IN_TEST * 2]; memset(&ctx, 0, sizeof(ctx)); memset(c, 0, sizeof(c)); -- 2.43.0