[COMMITTERS] pgsql: Suppress compiler warning about unportable pointer value. - Mailing list pgsql-committers

From Tom Lane
Subject [COMMITTERS] pgsql: Suppress compiler warning about unportable pointer value.
Date
Msg-id E1d6gMu-00084V-6V@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Suppress compiler warning about unportable pointer value.

Setting a pointer value to "0xdeadbeef" draws a warning from some
compilers, and for good reason.  Be less cute and just set it to NULL.

In passing make some other cosmetic adjustments nearby.

Discussion: https://postgr.es/m/CAJrrPGdW3EkU-CRobvVKYf3fJuBdgWyuGeAbNzAQ4yBh+bfb_Q@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b3a47cdfd692079e36d2055d7d93759e083263ca

Modified Files
--------------
src/backend/replication/logical/proto.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: [COMMITTERS] pgsql: Allow MSVC to build with Tcl 8.6.
Next
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: First-draft release notes for 9.6.3.