From b9c54289f07123f5924e8f81b61a40f3c4ba67ee Mon Sep 17 00:00:00 2001 From: Cary Xu Date: Wed, 15 Sep 2021 06:37:07 +0800 Subject: [PATCH] type convert --- src/tsdb/src/tsdbRecover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tsdb/src/tsdbRecover.c b/src/tsdb/src/tsdbRecover.c index d0022b0135..de3a912cc3 100644 --- a/src/tsdb/src/tsdbRecover.c +++ b/src/tsdb/src/tsdbRecover.c @@ -252,7 +252,7 @@ static int tsdbRefactorHeadF(STsdbRepo *pRepo, SRecoverH *pRecoverH, SDFileSet * return -1; } - int arraySize = taosArrayGetSize(pReadH->aBlkIdx); + int arraySize = (int)taosArrayGetSize(pReadH->aBlkIdx); SBlock supBlk; for (int iBlkIdx = 0; iBlkIdx < arraySize; ++iBlkIdx) { pReadH->pBlkIdx = taosArrayGet(pReadH->aBlkIdx, iBlkIdx); -- GitLab