summaryrefslogtreecommitdiff
path: root/src/redis-cli.c
diff options
context:
space:
mode:
authordejun.xdj <dejun.xdj@alibaba-inc.com>2018-05-21 12:04:53 +0800
committerdejun.xdj <dejun.xdj@alibaba-inc.com>2018-05-21 12:04:53 +0800
commitcc7ffdfdf204fc7ab815ee602769de7f9323c353 (patch)
treeb8844a86ed5b3922e99ca1369fd72897c439f1e4 /src/redis-cli.c
parentb2762f1ff2db7d8fb84a90aa701098334db52ce0 (diff)
downloadredis-cc7ffdfdf204fc7ab815ee602769de7f9323c353.tar.gz
Change the type of repeat argument to long for function cliSendCommand.
To be in consistent with the original definition.
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 54b0d8f88..9bbea0fe2 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;