Commit 1f665d6e authored by antirez's avatar antirez
Browse files

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

parent e3c0125b
...@@ -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);
} }
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