Commit 2216fded authored by Teodor Sigaev's avatar Teodor Sigaev

UINT64CONST'fy long constants in pgbench

In commit e51a0484 it was missed 64-bit
constants, wrap them with UINT64CONST().

Per buildfarm member dromedary and gripe from Tom Lane
parent f67b113a
...@@ -64,9 +64,9 @@ ...@@ -64,9 +64,9 @@
/* /*
* Hashing constants * Hashing constants
*/ */
#define FNV_PRIME 0x100000001b3 #define FNV_PRIME UINT64CONST(0x100000001b3)
#define FNV_OFFSET_BASIS 0xcbf29ce484222325 #define FNV_OFFSET_BASIS UINT64CONST(0xcbf29ce484222325)
#define MM2_MUL 0xc6a4a7935bd1e995 #define MM2_MUL UINT64CONST(0xc6a4a7935bd1e995)
#define MM2_ROT 47 #define MM2_ROT 47
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment