summaryrefslogtreecommitdiff
path: root/src/select/arena_hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/select/arena_hash.h')
-rw-r--r--src/select/arena_hash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/select/arena_hash.h b/src/select/arena_hash.h
index 58abcd4..449284f 100644
--- a/src/select/arena_hash.h
+++ b/src/select/arena_hash.h
@@ -49,8 +49,8 @@ static inline uint32_t css__arena_hash(const uint8_t *data, size_t len)
/* Hash any left over bytes */
switch (len) {
- case 3: h ^= data[2] << 16;
- case 2: h ^= data[1] << 8;
+ case 3: h ^= data[2] << 16; /* Fall through */
+ case 2: h ^= data[1] << 8; /* Fall through */
case 1: h ^= data[0];
h *= m;
}