diff --git a/src/query/src/qFill.c b/src/query/src/qFill.c index 8a5efafced81cfe8703f629f5f7969ced09f2dc0..17642892196d2aa6efa64cc674746b0284424c3a 100644 --- a/src/query/src/qFill.c +++ b/src/query/src/qFill.c @@ -494,7 +494,7 @@ int64_t taosFillResultDataBlock(SFillInfo* pFillInfo, tFilePage** output, int32_ if (remain == 0) { fillExternalResults(pFillInfo, output, numOfRes); } else { - fillResultImpl(pFillInfo, output, numOfRes); + fillResultImpl(pFillInfo, output, (int32_t) numOfRes); assert(numOfRes == pFillInfo->numOfCurrent); }