From d5d4b80d8555bfe6b3b2e09bff33eba8f40e41f7 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Fri, 29 Jan 2021 11:22:21 +0800 Subject: [PATCH] [TD-225]fix compiler error. --- src/client/src/tscSubquery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscSubquery.c b/src/client/src/tscSubquery.c index f41ea71534..321fad8ed1 100644 --- a/src/client/src/tscSubquery.c +++ b/src/client/src/tscSubquery.c @@ -1855,7 +1855,7 @@ void doAppendData(SInterResult* pInterResult, TAOS_ROW row, int32_t numOfCols, S } int32_t id = pExpr->colInfo.colId; - int32_t numOfQueriedCols = taosArrayGetSize(pInterResult->pResult); + int32_t numOfQueriedCols = (int32_t) taosArrayGetSize(pInterResult->pResult); SArray* p = NULL; for(int32_t j = 0; j < numOfQueriedCols; ++j) { -- GitLab