mirror of https://github.com/citusdata/citus.git
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.release-5.0
parent
c3ed6ba62b
commit
f2742ce39b
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
|
|
||||||
/* total number of hash tokens (2^32) */
|
/* 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. */
|
/* In-memory representation of a typed tuple in pg_dist_shard. */
|
||||||
typedef struct ShardInterval
|
typedef struct ShardInterval
|
||||||
|
|
Loading…
Reference in New Issue