diff options
-rw-r--r-- | tanja.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -376,7 +376,7 @@ static inline void tn_map_grow(tn_el *m, int new) { if(!s) s = 32; while(s < ((m->count+new)*4)/3) - s <<= 2; + s <<= 1; assert(s < UINT16_MAX); // Might want to handle this if(s == m->size) return; |