aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTeodor Sigaev <teodor@sigaev.ru>2018-03-22 19:38:54 +0300
committerTeodor Sigaev <teodor@sigaev.ru>2018-03-22 19:38:54 +0300
commit2216fded1ebc9940f3e4c9454cb2f5c937794f1c (patch)
treeb8f17ac381367783f5b7bb35f9c7c9c35bf8d563 /src
parentf67b113ac62777d18cd20d3c4d05be964301b936 (diff)
downloadpostgresql-2216fded1ebc9940f3e4c9454cb2f5c937794f1c.tar.gz
postgresql-2216fded1ebc9940f3e4c9454cb2f5c937794f1c.zip
UINT64CONST'fy long constants in pgbench
In commit e51a04840a1c45db101686bef0b7025d5014c74b it was missed 64-bit constants, wrap them with UINT64CONST(). Per buildfarm member dromedary and gripe from Tom Lane
Diffstat (limited to 'src')
-rw-r--r--src/bin/pgbench/pgbench.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/pgbench/pgbench.c b/src/bin/pgbench/pgbench.c
index 894571e54f2..89e4bf5f287 100644
--- a/src/bin/pgbench/pgbench.c
+++ b/src/bin/pgbench/pgbench.c
@@ -64,10 +64,10 @@
/*
* Hashing constants
*/
-#define FNV_PRIME 0x100000001b3
-#define FNV_OFFSET_BASIS 0xcbf29ce484222325
-#define MM2_MUL 0xc6a4a7935bd1e995
-#define MM2_ROT 47
+#define FNV_PRIME UINT64CONST(0x100000001b3)
+#define FNV_OFFSET_BASIS UINT64CONST(0xcbf29ce484222325)
+#define MM2_MUL UINT64CONST(0xc6a4a7935bd1e995)
+#define MM2_ROT 47
/*
* Multi-platform pthread implementations