diff --git a/src/query/src/qUtil.c b/src/query/src/qUtil.c index 4cb61d1f4827388869a76016ed2f99a5aec10154..b7a7fd28e9dc2f013457e22446ff7bc41d3fef6c 100644 --- a/src/query/src/qUtil.c +++ b/src/query/src/qUtil.c @@ -369,7 +369,7 @@ int32_t getNumOfTotalRes(SGroupResInfo* pGroupResInfo) { return 0; } - return taosArrayGetSize(pGroupResInfo->pRows); + return (int32_t) taosArrayGetSize(pGroupResInfo->pRows); } static int64_t getNumOfResultWindowRes(SQueryRuntimeEnv* pRuntimeEnv, SResultRow *pResultRow) {