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
719c6c2b
Commit
719c6c2b
authored
Feb 03, 2015
by
antirez
Browse files
Suppress sign warning in sort.c.
Related to #2346.
parent
96abf659
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sort.c
View file @
719c6c2b
...
...
@@ -354,7 +354,7 @@ void sortCommand(redisClient *c) {
listTypeIterator
*
li
;
listTypeEntry
entry
;
li
=
listTypeInitIterator
(
sortval
,
desc
?
listTypeLength
(
sortval
)
-
start
-
1
:
start
,
desc
?
(
long
)(
listTypeLength
(
sortval
)
-
start
-
1
)
:
start
,
desc
?
REDIS_HEAD
:
REDIS_TAIL
);
while
(
j
<
vectorlen
&&
listTypeNext
(
li
,
&
entry
))
{
...
...
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