Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
95f492ee
Commit
95f492ee
authored
Jun 23, 2014
by
antirez
Browse files
Silence different signs comparison warning in sds.c.
parent
364464e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
deps/hiredis/sds.c
View file @
95f492ee
...
@@ -457,7 +457,7 @@ sds sdscatfmt(sds s, char const *fmt, ...) {
...
@@ -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
;
in
t
l
;
long
long
num
;
long
long
num
;
unsigned
long
long
unum
;
unsigned
long
long
unum
;
...
...
src/sds.c
View file @
95f492ee
...
@@ -457,7 +457,7 @@ sds sdscatfmt(sds s, char const *fmt, ...) {
...
@@ -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
;
in
t
l
;
long
long
num
;
long
long
num
;
unsigned
long
long
unum
;
unsigned
long
long
unum
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment