[TD-225]fix compiler error.

This commit is contained in:
Haojun Liao 2021-01-29 13:11:09 +08:00
parent 8d004400d5
commit 13fac204de
1 changed files with 1 additions and 1 deletions

View File

@ -1158,7 +1158,7 @@ bool tscMultiRoundQuery(SQueryInfo* pQueryInfo, int32_t index) {
return false;
}
int32_t numOfExprs = tscSqlExprNumOfExprs(pQueryInfo);
int32_t numOfExprs = (int32_t) tscSqlExprNumOfExprs(pQueryInfo);
for(int32_t i = 0; i < numOfExprs; ++i) {
SSqlExpr* pExpr = tscSqlExprGet(pQueryInfo, i);
if (pExpr->functionId == TSDB_FUNC_STDDEV_DST) {