diff --git a/src/client/src/tscSubquery.c b/src/client/src/tscSubquery.c index f41ea71534f3ca9dc0ca5e3384fbb853db162809..321fad8ed1d4a97831406e96a3b0e19ccc795958 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) {