summaryrefslogtreecommitdiff
path: root/src/redis-cli.c
diff options
context:
space:
mode:
authorSalvatore Sanfilippo <antirez@gmail.com>2019-03-13 11:47:48 +0100
committerGitHub <noreply@github.com>2019-03-13 11:47:48 +0100
commit02dab200260fc79cd6c52a9d774ea240671b7558 (patch)
tree715e619bd62e436069f790c8bcbbfc4894e2c77a /src/redis-cli.c
parente5acc5ef4f1b163d5a98cf54895c2c6c7d9327fd (diff)
parent5a3d3d8be414d201abb670313f2801aeadd9ba69 (diff)
downloadredis-02dab200260fc79cd6c52a9d774ea240671b7558.tar.gz
Merge pull request #5894 from soloestoy/fix-rdb-warning
Fix compile some warnings
Diffstat (limited to 'src/redis-cli.c')
-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 5f946b026..c5f29797d 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",