diff --git a/src/client/src/tscSQLParser.c b/src/client/src/tscSQLParser.c index 417d01c8cab53edd5e204fa676ac39d0be7930c0..29eaecfea0e50071e371f6e89a2f814bcaa5d518 100644 --- a/src/client/src/tscSQLParser.c +++ b/src/client/src/tscSQLParser.c @@ -1602,7 +1602,7 @@ int32_t parseSelectClause(SSqlCmd* pCmd, int32_t clauseIndex, SArray* pSelectLis } bool hasDistinct = false; - int32_t numOfExpr = taosArrayGetSize(pSelectList); + size_t numOfExpr = taosArrayGetSize(pSelectList); for (int32_t i = 0; i < numOfExpr; ++i) { int32_t outputIndex = (int32_t)tscSqlExprNumOfExprs(pQueryInfo); tSqlExprItem* pItem = taosArrayGet(pSelectList, i);