Merge branch 'jc/diff'
[git.git] / ls-files.c
index b29fe1b..6af3b09 100644 (file)
@@ -209,7 +209,7 @@ static int excluded(const char *pathname)
 
 struct nond_on_fs {
        int len;
-       char name[0];
+       char name[FLEX_ARRAY]; /* more */
 };
 
 static struct nond_on_fs **dir;