X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=object.h;h=0e7618283cb8c85d89cc2935b8ab7430571a14a7;hb=e921fb82cf6fb4a5f138ec9d27bc37c658336a8c;hp=336d986b51831db7812fd9bbd6a818803935fde2;hpb=4a4e6fd74f7d4564ed43eaaf59b6bd70c1959f1a;p=git.git diff --git a/object.h b/object.h index 336d986b..0e761828 100644 --- a/object.h +++ b/object.h @@ -9,7 +9,7 @@ struct object_list { struct object_refs { unsigned count; - struct object *ref[0]; + struct object *ref[FLEX_ARRAY]; /* more */ }; struct object {