mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
Cast void* to char* to avoid waring in latencyCommand().
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user