提交 e72ca01e 编写于 作者: H Haojun Liao

[TD-225]fix compiler error.

上级 061de3e6
......@@ -380,7 +380,7 @@ int32_t tNameFromString(SName* dst, const char* str, uint32_t type) {
return -1;
}
int32_t len = p - str;
int32_t len = (int32_t)(p - str);
// too long account id or too long db name
if (len >= tListLen(dst->acctId) || len == 0) {
......@@ -400,7 +400,7 @@ int32_t tNameFromString(SName* dst, const char* str, uint32_t type) {
if (p == NULL) {
len = (int32_t) strlen(start);
} else {
len = p - start;
len = (int32_t) (p - start);
}
// too long account id or too long db name
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册