From 248e33756b425335d94a32ffc8e9aace04f82c31 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Fri, 29 Sep 2017 17:41:20 -0700 Subject: [PATCH] Fix copy & pasto in 510b8cbff15f. Reported-By: Peter Geoghegan --- src/include/port/pg_bswap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/port/pg_bswap.h b/src/include/port/pg_bswap.h index f67ad4b133..bba0ca5490 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)) | -- 2.40.0