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
1f665d6e
Commit
1f665d6e
authored
Jul 02, 2014
by
antirez
Browse files
Cast void* to char* to avoid waring in latencyCommand().
parent
e3c0125b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/latency.c
View file @
1f665d6e
...
@@ -228,6 +228,6 @@ nodataerr:
...
@@ -228,6 +228,6 @@ nodataerr:
/* Common error when the user asks for an event we have no latency
/* Common error when the user asks for an event we have no latency
* information about. */
* information about. */
addReplyErrorFormat
(
c
,
addReplyErrorFormat
(
c
,
"No samples available for event '%s'"
,
c
->
argv
[
2
]
->
ptr
);
"No samples available for event '%s'"
,
(
char
*
)
c
->
argv
[
2
]
->
ptr
);
}
}
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