diff --git a/src/client/src/tscLocalMerge.c b/src/client/src/tscLocalMerge.c index a2af207e1e63d1e2000de8359a6252624a0d352b..9dc0369dda3a6442abf41b1d53fd65eb4cf6c477 100644 --- a/src/client/src/tscLocalMerge.c +++ b/src/client/src/tscLocalMerge.c @@ -866,7 +866,7 @@ bool needToMergeRv(SSDataBlock* pBlock, SArray* columnIndexList, int32_t index, int32_t ret = 0; size_t size = taosArrayGetSize(columnIndexList); if (size > 0) { - ret = compare_aRv(pBlock, columnIndexList, size, index, buf, TSDB_ORDER_ASC); + ret = compare_aRv(pBlock, columnIndexList, (int32_t) size, index, buf, TSDB_ORDER_ASC); } // if ret == 0, means the result belongs to the same group