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

From Peter Eisentraut
Subject pgsql: Fix -Wcast-function-type warnings on Windows/MinGW
Date
Msg-id E1kV7SL-0007Cp-LO@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Review format of code generated by PerfectHash.pm
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Remove obsolete ifdefs