File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ struct dshash_table
129
129
130
130
/* How many buckets are there in each partition at a given size? */
131
131
#define BUCKETS_PER_PARTITION (size_log2 ) \
132
- (UINT64CONST( 1) << NUM_SPLITS(size_log2))
132
+ (((size_t) 1) << NUM_SPLITS(size_log2))
133
133
134
134
/* Max entries before we need to grow. Half + quarter = 75% load factor. */
135
135
#define MAX_COUNT_PER_PARTITION (hash_table ) \
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ typedef struct dshash_parameters
55
55
int tranche_id ; /* The tranche ID to use for locks */
56
56
} dshash_parameters ;
57
57
58
- /* Forward declaration of private types for use only by dht .c. */
58
+ /* Forward declaration of private types for use only by dshash .c. */
59
59
struct dshash_table_item ;
60
60
typedef struct dshash_table_item dshash_table_item ;
61
61
You can’t perform that action at this time.
0 commit comments