Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2216fde

Browse files
committed
UINT64CONST'fy long constants in pgbench
In commite51a048 it was missed 64-bitconstants, wrap them with UINT64CONST().Per buildfarm member dromedary and gripe from Tom Lane
1 parentf67b113 commit2216fde

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-
#defineFNV_PRIME0x100000001b3
68-
#defineFNV_OFFSET_BASIS0xcbf29ce484222325
69-
#defineMM2_MUL0xc6a4a7935bd1e995
70-
#defineMM2_ROT47
67+
#defineFNV_PRIMEUINT64CONST(0x100000001b3)
68+
#defineFNV_OFFSET_BASISUINT64CONST(0xcbf29ce484222325)
69+
#defineMM2_MULUINT64CONST(0xc6a4a7935bd1e995)
70+
#defineMM2_ROT47
7171

7272
/*
7373
* Multi-platform pthread implementations

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp