Fix use of INT64CONST macro

This macro is intended to receive a bare integer literal (no suffix).
It adds a suffix as necessary, depending upon available features. On
e.g. 32-bit platforms, the existing code failed to compile because a
suffix was added to the existing suffix. This fixes that problem.
pull/451/head
Jason Petersen 2016-04-15 11:46:22 -06:00
parent 6860327cf9
commit fb4f84207c
No known key found for this signature in database
GPG Key ID: 9F1D3510D110ABA9
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
/* total number of hash tokens (2^32) */
#define HASH_TOKEN_COUNT INT64CONST(4294967296UL)
#define HASH_TOKEN_COUNT INT64CONST(4294967296)
/* In-memory representation of a typed tuple in pg_dist_shard. */
typedef struct ShardInterval