From 62d38e4501bd2ef415909617539677658d660273 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Sat, 6 Feb 2021 11:21:40 +0800 Subject: [PATCH] [TD-225] fix compiler warning. --- 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 4cb61d1f48..b7a7fd28e9 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) {