pgsql: Fix -Wcast-function-type warnings on Windows/MinGW

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Fix -Wcast-function-type warnings on Windows/MinGW
Дата
Msg-id E1kV7SL-0007Cp-LO@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix -Wcast-function-type warnings on Windows/MinGW

After de8feb1f3a23465b5737e8a8c160e8ca62f61339, some warnings remained
that were only visible when using GCC on Windows.  Fix those as well.

Note that the ecpg test source files don't use the full pg_config.h,
so we can't use pg_funcptr_t there but have to do it the long way.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8a58347a3c10126ce9eb38872a46c55e91faa174

Modified Files
--------------
src/backend/libpq/auth.c                                   |  4 ++--
src/backend/port/win32/crashdump.c                         |  2 +-
src/bin/pg_ctl/pg_ctl.c                                    | 12 ++++++------
src/common/restricted_token.c                              |  2 +-
src/interfaces/ecpg/test/expected/thread-thread.c          |  2 +-
src/interfaces/ecpg/test/expected/thread-thread_implicit.c |  2 +-
src/interfaces/ecpg/test/thread/thread.pgc                 |  2 +-
src/interfaces/ecpg/test/thread/thread_implicit.pgc        |  2 +-
src/port/getaddrinfo.c                                     | 12 ++++++------
src/port/win32env.c                                        |  2 +-
src/port/win32stat.c                                       |  2 +-
11 files changed, 22 insertions(+), 22 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Review format of code generated by PerfectHash.pm
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Remove obsolete ifdefs