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:
Diffstat (limited to 'cluster_library.c')
-rw-r--r--cluster_library.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cluster_library.c b/cluster_library.c
index fc49e127..7d1e99a2 100644
--- a/cluster_library.c
+++ b/cluster_library.c
@@ -176,7 +176,7 @@ cluster_multibulk_resp_recursive(RedisSock *sock, size_t elements,
/* Return the socket for a slot and slave index */
static RedisSock *cluster_slot_sock(redisCluster *c, unsigned short slot,
- ulong slaveidx)
+ zend_ulong slaveidx)
{
redisClusterNode *node;
@@ -669,7 +669,7 @@ cluster_node_create(redisCluster *c, char *host, size_t host_len,
PHP_REDIS_API int
cluster_node_add_slave(redisClusterNode *master, redisClusterNode *slave)
{
- ulong index;
+ zend_ulong index;
// Allocate our slaves hash table if we haven't yet
if (!master->slaves) {