mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-08 03:15:46 +00:00
Merge pull request #2444 from libgit2/phkelley/flexarray
Fixes #2443 Zero size arrays are an extension
This commit is contained in:
commit
9c46409d38
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user