diff options
author | Lee Yunsu <yunsou.lee@gmail.com> | 2019-08-20 10:57:50 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-20 10:57:50 +0900 |
commit | 4a63c44314a947191160bc13a0900e868031f843 (patch) | |
tree | 5e3ab77194ba3d2bd6dc7d65762aa716de3e6c80 | |
parent | b2ab1e01577fe3b8a8fb6188253d3b22b840bda5 (diff) | |
download | redis-4a63c44314a947191160bc13a0900e868031f843.tar.gz |
update dict.h
fix to [#4493](https://github.com/antirez/redis/issues/4493) at 2.8 version
-rw-r--r-- | src/dict.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dict.h b/src/dict.h index e4d64c643..cbe27aeaa 100644 --- a/src/dict.h +++ b/src/dict.h @@ -165,8 +165,8 @@ dictEntry *dictNext(dictIterator *iter); void dictReleaseIterator(dictIterator *iter); dictEntry *dictGetRandomKey(dict *d); void dictPrintStats(dict *d); -unsigned int dictGenHashFunction(const void *key, int len); -unsigned int dictGenCaseHashFunction(const unsigned char *buf, int len); +uint64_t dictGenHashFunction(const void *key, int len); +uint64_t dictGenCaseHashFunction(const unsigned char *buf, int len); void dictEmpty(dict *d, void(callback)(void*)); void dictEnableResize(void); void dictDisableResize(void); |