summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--deps/hiredis/sds.c2
-rw-r--r--src/sds.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/deps/hiredis/sds.c b/deps/hiredis/sds.c
index b64ffb13a..47b9823ea 100644
--- a/deps/hiredis/sds.c
+++ b/deps/hiredis/sds.c
@@ -457,7 +457,7 @@ sds sdscatfmt(sds s, char const *fmt, ...) {
i = initlen; /* Position of the next byte to write to dest str. */
while(*f) {
char next, *str;
- size_t l;
+ int l;
long long num;
unsigned long long unum;
diff --git a/src/sds.c b/src/sds.c
index b64ffb13a..47b9823ea 100644
--- a/src/sds.c
+++ b/src/sds.c
@@ -457,7 +457,7 @@ sds sdscatfmt(sds s, char const *fmt, ...) {
i = initlen; /* Position of the next byte to write to dest str. */
while(*f) {
char next, *str;
- size_t l;
+ int l;
long long num;
unsigned long long unum;