git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f142412)
Fix copy & pasto in 510b8cbff15f.
2017年9月30日 00:41:20 +0000 (17:41 -0700)
2017年9月30日 00:41:20 +0000 (17:41 -0700)
Reported-By: Peter Geoghegan

diff --git a/src/include/port/pg_bswap.h b/src/include/port/pg_bswap.h
index f67ad4b133d926a470d7633a32df78bbf7963878..bba0ca5490d8df79fb64a061ce4766966224a282 100644 (file)
--- 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)) |
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /