Commit 27178a3f authored by antirez's avatar antirez
Browse files

Fix type of argslen in sendSynchronousCommand().

Related to #5037.
parent 1f1e724f
...@@ -1323,7 +1323,7 @@ char *sendSynchronousCommand(int flags, int fd, ...) { ...@@ -1323,7 +1323,7 @@ char *sendSynchronousCommand(int flags, int fd, ...) {
va_list ap; va_list ap;
sds cmd = sdsempty(); sds cmd = sdsempty();
sds cmdargs = sdsempty(); sds cmdargs = sdsempty();
int argslen = 0; size_t argslen = 0;
va_start(ap,fd); va_start(ap,fd);
while(1) { while(1) {
......
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