Browse Source

Unittest: fix alignment

bel2125 1 month ago
parent
commit
618790d4d5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      unittest/timertest.c

+ 1 - 1
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));