diff options
author | dejun.xdj <dejun.xdj@alibaba-inc.com> | 2018-05-21 12:04:53 +0800 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2018-05-29 12:46:27 +0200 |
commit | 3f77777ffd98f4d5686c8ed5ae883b1834021c77 (patch) | |
tree | 9c5e127dd4ae64f545c6152fb66c0a6c2b7dd983 | |
parent | 7a565d725738e007ca6901abfa7cedab6b4e1d10 (diff) | |
download | redis-3f77777ffd98f4d5686c8ed5ae883b1834021c77.tar.gz |
Change the type of repeat argument to long for function cliSendCommand.
To be in consistent with the original definition.
-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 db21a3931..6ae25e8ba 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; |