diff --git a/src/client/src/tscGlobalmerge.c b/src/client/src/tscGlobalmerge.c index d7a4b0d96d20ba32296c4de06030c3bc89c63e89..130abdf4a73ade3951070a100555d15270c265f2 100644 --- a/src/client/src/tscGlobalmerge.c +++ b/src/client/src/tscGlobalmerge.c @@ -1004,7 +1004,7 @@ static void ensureOutputBuf(SSLimitOperatorInfo * pInfo, SSDataBlock *pResultBlo if (pInfo->capacity < pResultBlock->info.rows + numOfRows) { int32_t total = pResultBlock->info.rows + numOfRows; - int32_t num = taosArrayGetSize(pResultBlock->pDataBlock); + size_t num = taosArrayGetSize(pResultBlock->pDataBlock); for (int32_t i = 0; i < num; ++i) { SColumnInfoData *pInfoData = taosArrayGet(pResultBlock->pDataBlock, i);