From 6e015f2cf691bfe91c7a780cce26ad494d556718 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Sat, 24 Jul 2021 22:53:32 +0800 Subject: [PATCH] [td-225] fix compiler error. --- src/client/src/tscServer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscServer.c b/src/client/src/tscServer.c index 1c0e665276..dd40314265 100644 --- a/src/client/src/tscServer.c +++ b/src/client/src/tscServer.c @@ -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); -- GitLab