From: Oswald Buddenhagen Date: Mon, 11 Sep 2023 22:28:18 GMT Subject: Re: [PATCH 1/2] parse-options: add int value pointer to struct option Message-ID: In-Reply-To: On Mon, Sep 11, 2023 at 12:19:17PM -0700, Junio C Hamano wrote: >Yup, that does cross my mind, even though I would have used > > union { > void *void_ptr; > int *int_ptr; > } value; > >or something without a rather meaningless 'u'. > i'd go the opposite way and make it an anonymous union. that would require c11, though. imo not exactly an outrageous proposition in 2023, but ... regards