summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzhaozhao.zz <zhaozhao.zz@alibaba-inc.com>2019-03-13 16:54:34 +0800
committerzhaozhao.zz <zhaozhao.zz@alibaba-inc.com>2019-03-13 16:54:34 +0800
commit5a3d3d8be414d201abb670313f2801aeadd9ba69 (patch)
treec9b0898eb5df2d9740d2f4d0e54de5864b5e29ef /src
parentfb81d1b3f891746e886f44cad5df96a29e6b9f51 (diff)
downloadredis-5a3d3d8be414d201abb670313f2801aeadd9ba69.tar.gz
Fix compile warning in redis-cli.c
Diffstat (limited to 'src')
-rw-r--r--src/redis-cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redis-cli.c b/src/redis-cli.c
index 0e52c16be..5414de7ef 100644
--- a/src/redis-cli.c
+++ b/src/redis-cli.c
@@ -2726,7 +2726,7 @@ static sds clusterManagerNodeGetJSON(clusterManagerNode *node,
slots,
node->slots_count,
flags,
- node->current_epoch
+ (unsigned long long)node->current_epoch
);
if (error_count > 0) {
json = sdscatprintf(json, ",\n \"cluster_errors\": %lu",