mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 08:38:27 -05:00
fix: dict.c->dictResize()->minimal type
This commit is contained in:
parent
df45fed050
commit
6d2f1188ac
@ -134,7 +134,7 @@ int _dictInit(dict *d, dictType *type,
|
|||||||
* but with the invariant of a USED/BUCKETS ratio near to <= 1 */
|
* but with the invariant of a USED/BUCKETS ratio near to <= 1 */
|
||||||
int dictResize(dict *d)
|
int dictResize(dict *d)
|
||||||
{
|
{
|
||||||
int minimal;
|
unsigned long minimal;
|
||||||
|
|
||||||
if (!dict_can_resize || dictIsRehashing(d)) return DICT_ERR;
|
if (!dict_can_resize || dictIsRehashing(d)) return DICT_ERR;
|
||||||
minimal = d->ht[0].used;
|
minimal = d->ht[0].used;
|
||||||
|
Loading…
Reference in New Issue
Block a user