Re: explicit (void *) casts - Mailing list pgsql-hackers

From Tom Lane
Subject Re: explicit (void *) casts
Date
Msg-id 4274.1272479688@sss.pgh.pa.us
Whole thread Raw
In response to explicit (void *) casts  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: explicit (void *) casts  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-hackers
"Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
> I'm wondering the reason that I see (void *) casts for function call
> parameters which are pointers to specific structures.  Do some
> compilers generate warnings if these are omitted?

There are some places where we do that to suppress warnings, yes.
Any particular place where you think it's unnecessary?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: pg_start_backup and pg_stop_backup Re: Re: [COMMITTERS] pgsql: Make CheckRequiredParameterValues() depend upon correct
Next
From: Simon Riggs
Date:
Subject: Re: pg_start_backup and pg_stop_backup Re: Re: [COMMITTERS] pgsql: Make CheckRequiredParameterValues() depend upon correct