diff options
Diffstat (limited to 'assoc.c')
-rw-r--r-- | assoc.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -28,13 +28,10 @@ static pthread_cond_t maintenance_cond = PTHREAD_COND_INITIALIZER; static pthread_mutex_t maintenance_lock = PTHREAD_MUTEX_INITIALIZER; -typedef uint32_t ub4; /* unsigned 4-byte quantities */ -typedef unsigned char ub1; /* unsigned 1-byte quantities */ - /* how many powers of 2's worth of buckets we use */ unsigned int hashpower = HASHPOWER_DEFAULT; -#define hashsize(n) ((ub4)1<<(n)) +#define hashsize(n) ((uint64_t)1<<(n)) #define hashmask(n) (hashsize(n)-1) /* Main hash table. This is where we look except during expansion. */ |