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