From f5678f78188b1143de90345641bcf93e085bdf99 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Thu, 29 Oct 2020 15:56:52 +0800 Subject: [PATCH] [td-255] 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 3fab93aa76..2e7a99f2fb 100644 --- a/src/client/src/tscServer.c +++ b/src/client/src/tscServer.c @@ -567,7 +567,7 @@ static int32_t tscEstimateQueryMsgSize(SSqlCmd *pCmd, int32_t clauseIndex) { int32_t totalTables = 0; for (int32_t i = 0; i < numOfGroups; ++i) { SVgroupTableInfo *pTableInfo = taosArrayGet(pTableMetaInfo->pVgroupTables, i); - totalTables += taosArrayGetSize(pTableInfo->itemList); + totalTables += (int32_t) taosArrayGetSize(pTableInfo->itemList); } tableSerialize = totalTables * sizeof(STableIdInfo);