[TD-225]fix compiler error.

This commit is contained in:
Haojun Liao 2021-01-29 11:01:08 +08:00
parent 864e6f3f24
commit bfdba04008
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ void* destroyResultRowPool(SResultRowPool* p) {
}
void interResToBinary(SBufferWriter* bw, SArray* pRes, int32_t tagLen) {
uint32_t numOfGroup = taosArrayGetSize(pRes);
uint32_t numOfGroup = (uint32_t) taosArrayGetSize(pRes);
tbufWriteUint32(bw, numOfGroup);
tbufWriteUint16(bw, tagLen);