Commit 07b4d337 authored by antirez's avatar antirez
Browse files

Cast void* to char* to avoid waring in latencyCommand().

parent 58fb90fd
......@@ -228,6 +228,6 @@ nodataerr:
/* Common error when the user asks for an event we have no latency
* information about. */
addReplyErrorFormat(c,
"No samples available for event '%s'", c->argv[2]->ptr);
"No samples available for event '%s'", (char*) c->argv[2]->ptr);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment