Commit 9c46409d by Philip Kelley

Merge pull request #2444 from libgit2/phkelley/flexarray

Fixes #2443 Zero size arrays are an extension
parents 86cb34cb f36d57b9
......@@ -63,7 +63,7 @@ struct git_reference {
} target;
git_oid peel;
char name[0];
char name[GIT_FLEX_ARRAY];
};
git_reference *git_reference__set_name(git_reference *ref, const char *name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment