On Aug 6, 2022, 22:47 +0800, Tom Lane <t...@sss.pgh.pa.us>, wrote: > Zhang Mingli <zmlpostg...@gmail.com> writes: > > I think it’s ok, re_guts is converted when used > > (struct guts *) re->re_guts; > > And there is comments in regex.h > > char *re_guts; /* `char *' is more portable than `void *' */ > > Boy, that comment is showing its age isn't it? If we were to do > anything about this, I'd be more inclined to change re_guts to void*. Got it , thanks.
- Allocator sizeof operand mismatch (src/backend/regex/regcomp... Ranier Vilela
- Re: Allocator sizeof operand mismatch (src/backend/rege... Zhang Mingli
- Re: Allocator sizeof operand mismatch (src/backend/... Tom Lane
- Re: Allocator sizeof operand mismatch (src/back... Zhang Mingli