From 5ff4f6aa3327b8ab403f51dd5499a4ece6a97aca Mon Sep 17 00:00:00 2001 From: Tyge Date: Thu, 30 Apr 2020 18:56:35 +0200 Subject: Nothing. --- stc/cmap.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stc/cmap.h b/stc/cmap.h index 5c91ec92..96144e64 100644 --- a/stc/cmap.h +++ b/stc/cmap.h @@ -21,7 +21,7 @@ * SOFTWARE. */ -/* An example: +/* // Example: #include #include "stc/cmap.h" declare_CMap(ex, int, char); @@ -193,7 +193,8 @@ cmap_##tag##_setShrinkLimitFactor(CMap_##tag* self, double limit) { \ \ static inline size_t \ cmap_##tag##_bucket(CMap_##tag* self, const cmap_##tag##_rawkey_t* rawKeyPtr, uint32_t* hxPtr) { \ - uint32_t hash = keyHashRaw(rawKeyPtr, sizeof(cmap_##tag##_rawkey_t)), sx, hx = (hash & cmapentry_HASH) | cmapentry_USED; \ + uint32_t hash = keyHashRaw(rawKeyPtr, sizeof(cmap_##tag##_rawkey_t)); \ + uint32_t sx, hx = (hash & cmapentry_HASH) | cmapentry_USED; \ size_t cap = cmap_bucketCount(*self); \ size_t idx = cmap_reduce(hash, cap); \ uint8_t* hashx = self->_hashx; \ -- cgit v1.2.3