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

To be in consistent with the original definition.
This commit is contained in:
dejun.xdj 2018-05-21 12:04:53 +08:00
parent b2762f1ff2
commit cc7ffdfdf2

View File

@ -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;