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

This commit is contained in:
antirez 2014-07-02 16:56:08 +02:00
parent e3c0125b70
commit 1f665d6e82

View File

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