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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy