Commit 3f77777f authored by dejun.xdj's avatar dejun.xdj Committed by antirez
Browse files

Change the type of repeat argument to long for function cliSendCommand.

To be in consistent with the original definition.
parent 7a565d72
...@@ -917,7 +917,7 @@ static int cliReadReply(int output_raw_strings) { ...@@ -917,7 +917,7 @@ static int cliReadReply(int output_raw_strings) {
return REDIS_OK; 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]; char *command = argv[0];
size_t *argvlen; size_t *argvlen;
int j, output_raw; int j, output_raw;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment