Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx> writes: > diff --git a/reftable/generic.c b/reftable/generic.c > index b27d152e89a..57f8032db94 100644 > --- a/reftable/generic.c > +++ b/reftable/generic.c > @@ -130,7 +130,9 @@ int reftable_iterator_next_ref(struct reftable_iterator *it, > { > struct reftable_record rec = { > .type = BLOCK_TYPE_REF, > - .u.ref = *ref, > + .u = { > + .ref = *ref > + }, > }; Having to do this does *not* look so bad.