X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/dbb27a0a90ca3800f5be1d8170e404b9e7b9bc44..a25b25f4efb213d44761f8aa5bffc95f266abb2c:/src/dict.h?ds=sidebyside diff --git a/src/dict.h b/src/dict.h index 5f856953..f480ae53 100644 --- a/src/dict.h +++ b/src/dict.h @@ -155,7 +155,7 @@ dictEntry *dictNext(dictIterator *iter); void dictReleaseIterator(dictIterator *iter); dictEntry *dictGetRandomKey(dict *d); void dictPrintStats(dict *d); -unsigned int dictGenHashFunction(const unsigned char *buf, int len); +unsigned int dictGenHashFunction(const void *key, int len); unsigned int dictGenCaseHashFunction(const unsigned char *buf, int len); void dictEmpty(dict *d); void dictEnableResize(void);