From bfdba04008e78c7fd06633a4ea9976540d85a75a Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Fri, 29 Jan 2021 11:01:08 +0800 Subject: [PATCH] [TD-225]fix compiler error. --- src/query/src/qUtil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query/src/qUtil.c b/src/query/src/qUtil.c index 5abb541b60..94dc77fca3 100644 --- a/src/query/src/qUtil.c +++ b/src/query/src/qUtil.c @@ -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); -- GitLab