[TD-225] fix compiler warning.

This commit is contained in:
Haojun Liao 2021-02-06 11:21:40 +08:00
parent 53eadeefe2
commit 62d38e4501
1 changed files with 1 additions and 1 deletions

View File

@ -369,7 +369,7 @@ int32_t getNumOfTotalRes(SGroupResInfo* pGroupResInfo) {
return 0; return 0;
} }
return taosArrayGetSize(pGroupResInfo->pRows); return (int32_t) taosArrayGetSize(pGroupResInfo->pRows);
} }
static int64_t getNumOfResultWindowRes(SQueryRuntimeEnv* pRuntimeEnv, SResultRow *pResultRow) { static int64_t getNumOfResultWindowRes(SQueryRuntimeEnv* pRuntimeEnv, SResultRow *pResultRow) {