[TD-225]fix compiler error.

This commit is contained in:
Haojun Liao 2021-01-29 11:08:12 +08:00
parent ba60fa9dbf
commit 356602cfce
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ void interResToBinary(SBufferWriter* bw, SArray* pRes, int32_t tagLen) {
tbufWriteUint32(bw, numOfCols);
for(int32_t j = 0; j < numOfCols; ++j) {
SStddevInterResult* p = taosArrayGet(pOne->pResult, j);
uint32_t numOfRows = taosArrayGetSize(p->pResult);
uint32_t numOfRows = (uint32_t) taosArrayGetSize(p->pResult);
tbufWriteUint16(bw, p->colId);
tbufWriteUint32(bw, numOfRows);