diff options
author | dejun.xdj <dejun.xdj@alibaba-inc.com> | 2018-05-21 12:04:53 +0800 |
---|---|---|
committer | dejun.xdj <dejun.xdj@alibaba-inc.com> | 2018-05-21 12:04:53 +0800 |
commit | cc7ffdfdf204fc7ab815ee602769de7f9323c353 (patch) | |
tree | b8844a86ed5b3922e99ca1369fd72897c439f1e4 /src/redis-cli.c | |
parent | b2762f1ff2db7d8fb84a90aa701098334db52ce0 (diff) | |
download | redis-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.c | 2 |
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; |