X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=object.h;h=0e7618283cb8c85d89cc2935b8ab7430571a14a7;hb=c8568e139ed2149fbfb7ef9a8d819d5b6b7c554f;hp=336d986b51831db7812fd9bbd6a818803935fde2;hpb=36d277c72d90d32f99616072b64a2652248f5264;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 {