summaryrefslogtreecommitdiff
path: root/assoc.c
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2019-04-26 23:37:19 -0700
committerdormando <dormando@rydia.net>2019-04-26 23:37:19 -0700
commitdae31911f94112c62f73bf0608873b1077e6052c (patch)
treed920a9b9a431c84d298d53d42f549d85c0067510 /assoc.c
parentaa78a38ced9112c0c57ac72317a09e7a6588cc71 (diff)
downloadmemcached-dae31911f94112c62f73bf0608873b1077e6052c.tar.gz
clarify hashsize typepdef in assoc.c to be 32-bit
no bug, but confusing code.
Diffstat (limited to 'assoc.c')
-rw-r--r--assoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/assoc.c b/assoc.c
index 8e7a810..b1049b1 100644
--- a/assoc.c
+++ b/assoc.c
@@ -28,7 +28,7 @@
static pthread_cond_t maintenance_cond = PTHREAD_COND_INITIALIZER;
static pthread_mutex_t maintenance_lock = PTHREAD_MUTEX_INITIALIZER;
-typedef unsigned long int ub4; /* unsigned 4-byte quantities */
+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 */