提交 593dee79 编写于 作者: A Alex Duan

warning fixed

上级 8778c55f
......@@ -972,7 +972,7 @@ void splitStreamSql(const char *str, char **sql, char **to, char **split) {
return ;
}
// SQL value
int32_t len = p1 - str - LABEL_SQL_LEN;
int32_t len = (int32_t)(p1 - str - LABEL_SQL_LEN);
*sql = (char *)tmalloc(len + 1);
strncpy(*sql, str + LABEL_SQL_LEN, len);
(*sql)[len] = 0; // str end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册