explicit (void *) casts

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: explicit (void *) casts
Date: 2010-04-28 18:21:49
Message-ID: 4BD8366D0200002500031004@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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? It's hard to
believe that the generated code would differ without them.

-Kevin

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-04-28 18:21:53 Re: pg_start_backup and pg_stop_backup Re: Re: [COMMITTERS] pgsql: Make CheckRequiredParameterValues() depend upon correct
Previous Message Simon Riggs 2010-04-28 18:20:15 Re: pg_start_backup and pg_stop_backup Re: Re: [COMMITTERS] pgsql: Make CheckRequiredParameterValues() depend upon correct