From fb4f84207c849b463d92fdeb41f126d03485c01a Mon Sep 17 00:00:00 2001 From: Jason Petersen Date: Fri, 15 Apr 2016 11:46:22 -0600 Subject: [PATCH] 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. --- src/include/distributed/master_metadata_utility.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/distributed/master_metadata_utility.h b/src/include/distributed/master_metadata_utility.h index f0d0f4f4b..17a711ee2 100644 --- a/src/include/distributed/master_metadata_utility.h +++ b/src/include/distributed/master_metadata_utility.h @@ -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