diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2020-03-29 16:17:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-29 16:17:52 +0200 |
commit | aca7f36b57af5f878868d38758849caae0ca91c5 (patch) | |
tree | b82c4186b3961dd9ba990ecf3e755846a5bfcdb8 /src | |
parent | e8afadd52c32c656d56ea9d5b235881f04c9bd8a (diff) | |
parent | 6d2f1188ac7fdbb03c0f3f83bfa06a02f2bbca3d (diff) | |
download | redis-aca7f36b57af5f878868d38758849caae0ca91c5.tar.gz |
Merge pull request #7033 from OMG-By/unstable
fix: dict.c->dictResize()->minimal type
Diffstat (limited to 'src')
-rw-r--r-- | src/dict.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dict.c b/src/dict.c index 93e6c39a7..ac6f8cfde 100644 --- a/src/dict.c +++ b/src/dict.c @@ -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; |