summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Freund2017-09-30 00:41:20 +0000
committerAndres Freund2017-09-30 00:41:20 +0000
commit248e33756b425335d94a32ffc8e9aace04f82c31 (patch)
tree1ecffa75b5de0025fc52a26ac54047152f264361
parentf14241236ea2e306dc665635665c7f88669b6ca4 (diff)
Fix copy & pasto in 510b8cbff15f.
Reported-By: Peter Geoghegan
-rw-r--r--src/include/port/pg_bswap.h4
1 files 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)) |