From cd3ffe8a81b374b2e09e8fde652f6442ce86b470 Mon Sep 17 00:00:00 2001 From: Wing Lian Date: Thu, 24 Oct 2013 10:25:00 -0700 Subject: fix for "variable length array folded to constant array as an extension" error --- testapp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testapp.c b/testapp.c index bb5304a..5a62aca 100644 --- a/testapp.c +++ b/testapp.c @@ -1807,7 +1807,7 @@ static enum test_return test_binary_pipeline_hickup(void) static enum test_return test_issue_101(void) { - const int max = 2; + enum { max = 2 }; enum test_return ret = TEST_PASS; int fds[max]; int ii = 0; -- cgit v1.2.1