Allocator sizeof operand mismatch (src/backend/regex/regcomp.c) - Mailing list pgsql-hackers

From Ranier Vilela
Subject Allocator sizeof operand mismatch (src/backend/regex/regcomp.c)
Date
Msg-id CAEudQArXbHYYBtinMxtfQTn6_hg-4J9Sfwyi-BV8QoMx_Xt6Gg@mail.gmail.com
Whole thread Raw
Responses Re: Allocator sizeof operand mismatch (src/backend/regex/regcomp.c)
List pgsql-hackers
Hi,

About the error:
Result of 'malloc' is converted to a pointer of type 'char', which is incompatible with sizeof operand type 'struct guts'

The patch attached tries to fix this.

regards,
Ranier Vilela
Attachment

pgsql-hackers by date:

Previous
From: Zhang Mingli
Date:
Subject: [Code Comments]enum COPY_NEW_FE is removed
Next
From: Michael Paquier
Date:
Subject: Re: [Code Comments]enum COPY_NEW_FE is removed