summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-06-23 11:50:24 +0200
committerantirez <antirez@gmail.com>2014-06-23 11:53:50 +0200
commit95f492ee57fa36b9c23227c51ae950168c1fcb12 (patch)
tree3fbd4903483018be391e23f6b9d5c68ca7d2aa7c
parent364464e7901f807c48840fa47fa4b9a98beb5beb (diff)
downloadredis-95f492ee57fa36b9c23227c51ae950168c1fcb12.tar.gz
Silence different signs comparison warning in sds.c.
-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;