Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-12-21 11:13:36 +0300
committerRemi Collet <fedora@famillecollet.com>2016-12-21 11:13:36 +0300
commitc9825cc8c8d444446c868837e1a786d123e10fd3 (patch)
treed4278585ee2b0f818a3089761c474b4894409b18 /cluster_library.c
parent04f1a40b98128636a4d5ec51f33f5b97f2a7459a (diff)
fix #1074 change redis_key_prefix to accept strlen_t
Diffstat (limited to 'cluster_library.c')
-rw-r--r--cluster_library.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cluster_library.c b/cluster_library.c
index ba3875cd..24f4062e 100644
--- a/cluster_library.c
+++ b/cluster_library.c
@@ -418,7 +418,7 @@ static clusterKeyVal *cluster_dl_add_key(clusterDistList *dl, char *key,
/* Add a key, returning a pointer to the entry where passed for easy adding
* of values to match this key */
int cluster_dist_add_key(redisCluster *c, HashTable *ht, char *key,
- int key_len, clusterKeyVal **kv)
+ strlen_t key_len, clusterKeyVal **kv)
{
int key_free;
short slot;