Commit 0a5805d7 authored by WuYunlong's avatar WuYunlong Committed by Salvatore Sanfilippo
Browse files

fix compile warning in addReplySubcommandSyntaxError

parent cb78c842
......@@ -570,7 +570,7 @@ void addReplySubcommandSyntaxError(client *c) {
sdstoupper(cmd);
addReplyErrorFormat(c,
"Unknown subcommand or wrong number of arguments for '%s'. Try %s HELP.",
c->argv[1]->ptr,cmd);
(char*)c->argv[1]->ptr,cmd);
sdsfree(cmd);
}
......
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