diff options
-rw-r--r-- | src/include/port/pg_bswap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/port/pg_bswap.h b/src/include/port/pg_bswap.h index f67ad4b133d..bba0ca5490d 100644 --- a/src/include/port/pg_bswap.h +++ b/src/include/port/pg_bswap.h @@ -85,8 +85,8 @@ pg_bswap32(uint32 x) #else -static inline uint16 -pg_bswap64(uint16 x) +static inline uint64 +pg_bswap64(uint64 x) { return ((x << 56) & UINT64CONST(0xff00000000000000)) | |