postgres.git / summary / log / commit / refs
commit 248e33756b425335d94a32ffc8e9aace04f82c31
Author: Andres Freund <andres@anarazel.de>
Date: Sat Sep 30 00:41:20 2017 +0000
First released in: 11.0
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 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)) |
[parent: f14241236ea2]