@@ -76,11 +76,11 @@ hash = objc_hash_string(key); assert(h->count + 1 <= UINT32_MAX / 4); if ((h->count + 1) * 4 / (h->last_idx + 1) >= 3) { struct objc_hashtable_bucket **ndata; - uint32_t nsize = (h->last_idx + 1) << 1; + uint32_t nsize = (h->last_idx + 1) * 2; assert(nsize > 0); ndata = malloc(nsize * sizeof(struct objc_hashtable_bucket*)); if (ndata == NULL)