瀏覽代碼

Unittest: fix alignment

bel2125 1 月之前
父節點
當前提交
618790d4d5
共有 1 個文件被更改,包括 1 次插入1 次删除
  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));