Fix type of argslen in sendSynchronousCommand().

Related to #5037.
This commit is contained in:
antirez 2018-06-26 14:38:31 +02:00
parent 1f1e724f47
commit 27178a3fde

View File

@ -1323,7 +1323,7 @@ char *sendSynchronousCommand(int flags, int fd, ...) {
va_list ap;
sds cmd = sdsempty();
sds cmdargs = sdsempty();
int argslen = 0;
size_t argslen = 0;
va_start(ap,fd);
while(1) {