From 27178a3fde83c1b81624083670d922313aca1370 Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 26 Jun 2018 14:38:31 +0200 Subject: [PATCH] Fix type of argslen in sendSynchronousCommand(). Related to #5037. --- src/replication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/replication.c b/src/replication.c index a023f817..00c2a719 100644 --- a/src/replication.c +++ b/src/replication.c @@ -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) {