[td-225] fix compiler error.

This commit is contained in:
Haojun Liao 2021-07-24 22:53:32 +08:00
parent eb44d43bba
commit 6e015f2cf6
1 changed files with 1 additions and 1 deletions

View File

@ -2266,7 +2266,7 @@ int tscProcessMultiTableMetaRsp(SSqlObj *pSql) {
tstrncpy(tableName, name, TSDB_TABLE_NAME_LEN);
p->vgroupIdList = createVgroupIdListFromMsg(pMsg, pSet, tableName, &size, pSql->self);
int32_t numOfVgId = taosArrayGetSize(p->vgroupIdList);
int32_t numOfVgId = (int32_t) taosArrayGetSize(p->vgroupIdList);
int32_t s = sizeof(tFilePage) + numOfVgId * sizeof(int32_t);
tFilePage* idList = calloc(1, s);