Re: explicit (void *) casts

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: explicit (void *) casts
Дата
Msg-id 4274.1272479688@sss.pgh.pa.us
обсуждение исходный текст
Ответ на explicit (void *) casts  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: explicit (void *) casts
Список 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 по дате отправления: