]> granicus.if.org Git - postgresql/commit
Try to fix some DSA-related compiler warnings.
authorRobert Haas <rhaas@postgresql.org>
Mon, 5 Dec 2016 15:00:49 +0000 (10:00 -0500)
committerRobert Haas <rhaas@postgresql.org>
Mon, 5 Dec 2016 15:01:08 +0000 (10:01 -0500)
commit670b3bc8f5d1000b5475e41c6f023c490e8500fe
tree22ed2c01cb359f922772b2b73e9d7178bf3d13d6
parent7dd8eb39bd2b9e06eeef038f80ae327efb4a7d55
Try to fix some DSA-related compiler warnings.

Commit 13df76a537cca3b8884911d8fdf7c89a457a8dd3 was overconfident
about how portable %016lx is.  Some compilers complain because they
need %016llx, while platforms where DSA pointers are only 32 bits
get unhappy about using a 64-bit format for a 32-bit quantity.

Thomas Munro, per an off-list suggestion from me.
src/backend/utils/mmgr/dsa.c
src/include/utils/dsa.h