Silence different signs comparison warning in sds.c.

This commit is contained in:
antirez 2014-06-23 11:50:24 +02:00
parent c52fcbddc8
commit 82d95f85f8
2 changed files with 2 additions and 2 deletions

2
deps/hiredis/sds.c vendored
View File

@ -457,7 +457,7 @@ sds sdscatfmt(sds s, char const *fmt, ...) {
i = initlen; /* Position of the next byte to write to dest str. */ i = initlen; /* Position of the next byte to write to dest str. */
while(*f) { while(*f) {
char next, *str; char next, *str;
size_t l; int l;
long long num; long long num;
unsigned long long unum; unsigned long long unum;

View File

@ -457,7 +457,7 @@ sds sdscatfmt(sds s, char const *fmt, ...) {
i = initlen; /* Position of the next byte to write to dest str. */ i = initlen; /* Position of the next byte to write to dest str. */
while(*f) { while(*f) {
char next, *str; char next, *str;
size_t l; int l;
long long num; long long num;
unsigned long long unum; unsigned long long unum;