Browse files

fix for "variable length array folded to constant array as an extensi…

…on" error
  • Loading branch information...
1 parent 032d1f1 commit cd3ffe8a81b374b2e09e8fde652f6442ce86b470 @winglian winglian committed with dormando Oct 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 testapp.c
View
2 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;

0 comments on commit cd3ffe8

Please sign in to comment.