Fix unportable definition of BSWAP64() macro.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 24 Feb 2017 20:21:39 +0000 (15:21 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 24 Feb 2017 20:21:39 +0000 (15:21 -0500)
commit41c16edcf6c90d1f42810ea523b7e65c99edad50
treed13c1bd3cf1a8d853a19417bf0a3cfb8dbf8488c
parent5dbdb2f799232cb1b6df7d7a85d59ade3234d30c
Fix unportable definition of BSWAP64() macro.

We have a portable way of writing uint64 constants, but whoever wrote
this macro didn't know about it.

While at it, fix unsafe under-parenthesization of arguments.  That might
be moot, because there are already good reasons not to use the macro on
anything more complicated than a simple variable, but it's still poor
practice.

Per buildfarm warnings.
src/include/port/pg_bswap.h