Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
8322ede0
Commit
8322ede0
authored
Jun 23, 2014
by
antirez
Browse files
Silence different signs comparison warning in sds.c.
parent
26291dc7
Changes
2
Show whitespace changes
Inline
Side-by-side
deps/hiredis/sds.c
View file @
8322ede0
...
@@ -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 @
8322ede0
...
@@ -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