From eb4b3af18e80d87eff2733c7c4aa86d2c6134436 Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Fri, 11 Jun 2021 17:47:33 +0800 Subject: [PATCH] [TD-3178] fix some bug --- 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 a3f5abdbfd..e12597e32d 100644 --- a/src/client/src/tscServer.c +++ b/src/client/src/tscServer.c @@ -1548,7 +1548,7 @@ int tscBuildCompactMsg(SSqlObj *pSql, SSqlInfo *pInfo) { STscObj *pObj = pSql->pTscObj; SSqlCmd *pCmd = &pSql->cmd; SArray *pList = pInfo->list; - int32_t size = taosArrayGetSize(pList); + int32_t size = (int32_t)taosArrayGetSize(pList); int32_t *result = malloc(sizeof(int32_t) * size); if (result == NULL) { -- GitLab