Skip to content

Commit

Permalink
fix: dict.c->dictResize()->minimal type
Browse files Browse the repository at this point in the history
  • Loading branch information
OMG-By authored Mar 28, 2020
1 parent df45fed commit 6d2f118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dict.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ int _dictInit(dict *d, dictType *type,
* but with the invariant of a USED/BUCKETS ratio near to <= 1 */
int dictResize(dict *d)
{
int minimal;
unsigned long minimal;

if (!dict_can_resize || dictIsRehashing(d)) return DICT_ERR;
minimal = d->ht[0].used;
Expand Down

0 comments on commit 6d2f118

Please sign in to comment.