From cc7ffdfdf204fc7ab815ee602769de7f9323c353 Mon Sep 17 00:00:00 2001 From: "dejun.xdj" Date: Mon, 21 May 2018 12:04:53 +0800 Subject: [PATCH] Change the type of repeat argument to long for function cliSendCommand. To be in consistent with the original definition. --- src/redis-cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redis-cli.c b/src/redis-cli.c index 54b0d8f8..9bbea0fe 100644 --- a/src/redis-cli.c +++ b/src/redis-cli.c @@ -917,7 +917,7 @@ static int cliReadReply(int output_raw_strings) { return REDIS_OK; } -static int cliSendCommand(int argc, char **argv, int repeat) { +static int cliSendCommand(int argc, char **argv, long repeat) { char *command = argv[0]; size_t *argvlen; int j, output_raw;