Content-Length: 268785 | pFad | http://github.com/postgrespro/postgres_cluster/commit/2216fded1ebc9940f3e4c9454cb2f5c937794f1c

CA UINT64CONST'fy long constants in pgbench · postgrespro/postgres_cluster@2216fde · GitHub
Skip to content

Commit 2216fde

Browse files
committed
UINT64CONST'fy long constants in pgbench
In commit e51a048 it was missed 64-bit constants, wrap them with UINT64CONST(). Per buildfarm member dromedary and gripe from Tom Lane
1 parent f67b113 commit 2216fde

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/bin/pgbench/pgbench.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@
6464
/*
6565
* Hashing constants
6666
*/
67-
#define FNV_PRIME 0x100000001b3
68-
#define FNV_OFFSET_BASIS 0xcbf29ce484222325
69-
#define MM2_MUL 0xc6a4a7935bd1e995
70-
#define MM2_ROT 47
67+
#define FNV_PRIME UINT64CONST(0x100000001b3)
68+
#define FNV_OFFSET_BASIS UINT64CONST(0xcbf29ce484222325)
69+
#define MM2_MUL UINT64CONST(0xc6a4a7935bd1e995)
70+
#define MM2_ROT 47
7171

7272
/*
7373
* Multi-platform pthread implementations

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/2216fded1ebc9940f3e4c9454cb2f5c937794f1c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy