提交 0a5805d7 编写于 作者: W WuYunlong 提交者: Salvatore Sanfilippo

fix compile warning in addReplySubcommandSyntaxError

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册