projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1f9ac5
)
Fix unportable spelling of int64 constant.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Tue, 7 Nov 2017 18:54:36 +0000
(13:54 -0500)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Tue, 7 Nov 2017 18:54:36 +0000
(13:54 -0500)
Per buildfarm member pademelon.
src/include/utils/hashutils.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/utils/hashutils.h
b/src/include/utils/hashutils.h
index 3a5c21f5235c14a9d7cf1d1c70eb796f656c0158..0a2620beff39dbaff04ab6a62adb2664b7be4f1c 100644
(file)
--- a/
src/include/utils/hashutils.h
+++ b/
src/include/utils/hashutils.h
@@
-29,7
+29,7
@@
static inline uint64
hash_combine64(uint64 a, uint64 b)
{
/* 0x49a0f4dd15e5a8e3 is 64bit random data */
- a ^= b +
0x49a0f4dd15e5a8e3
+ (a << 54) + (a >> 7);
+ a ^= b +
UINT64CONST(0x49a0f4dd15e5a8e3)
+ (a << 54) + (a >> 7);
return a;
}