1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-27 23:21:58 +03:00

UINT64CONST'fy long constants in pgbench

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

Per buildfarm member dromedary and gripe from Tom Lane
This commit is contained in:
Teodor Sigaev
2018-03-22 19:38:54 +03:00
parent f67b113ac6
commit 2216fded1e

View File

@ -64,10 +64,10 @@
/* /*
* 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
/* /*
* Multi-platform pthread implementations * Multi-platform pthread implementations