diff options
author | antirez <antirez@gmail.com> | 2014-07-02 16:56:08 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2014-07-09 19:58:06 +0200 |
commit | 07b4d33734cd82ea96b2427049e5cb84bbfcf871 (patch) | |
tree | 9b6398f37ca676cc584e80ee7113ab38d1e210e9 | |
parent | 58fb90fdacdb10465f0b34da9a253c270a518a5e (diff) | |
download | redis-07b4d33734cd82ea96b2427049e5cb84bbfcf871.tar.gz |
Cast void* to char* to avoid waring in latencyCommand().
-rw-r--r-- | src/latency.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/latency.c b/src/latency.c index a8f7c01d1..d9c422ad8 100644 --- a/src/latency.c +++ b/src/latency.c @@ -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); } |