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
591b69c7
Commit
591b69c7
authored
Oct 09, 2014
by
antirez
Browse files
Fix DEBUG POPULATE warning for lack of casting.
parent
5f6950ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/debug.c
View file @
591b69c7
...
...
@@ -336,7 +336,7 @@ void debugCommand(redisClient *c) {
dictExpand
(
c
->
db
->
dict
,
keys
);
for
(
j
=
0
;
j
<
keys
;
j
++
)
{
snprintf
(
buf
,
sizeof
(
buf
),
"%s:%lu"
,
(
c
->
argc
==
3
)
?
"key"
:
c
->
argv
[
3
]
->
ptr
,
j
);
(
c
->
argc
==
3
)
?
"key"
:
(
char
*
)
c
->
argv
[
3
]
->
ptr
,
j
);
key
=
createStringObject
(
buf
,
strlen
(
buf
));
if
(
lookupKeyRead
(
c
->
db
,
key
)
!=
NULL
)
{
decrRefCount
(
key
);
...
...
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