diff --git a/src/cluster.c b/src/cluster.c index 7ae34ebe35c69f326e4dda2bf43ebff22fc46113..55863ad890adc03a585fad577c6465973c52d3c6 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -748,7 +748,7 @@ void markNodeAsFailingIfNeeded(clusterNode *node) { * to reach it again. It checks if there are the conditions to undo the FAIL * state. */ void clearNodeFailureIfNeeded(clusterNode *node) { - time_t now = mstime(); + mstime_t now = mstime(); redisAssert(node->flags & REDIS_NODE_FAIL);