[td-2895] refactor.

This commit is contained in:
Haojun Liao 2021-03-10 16:53:15 +08:00
parent d1eb6f8333
commit 73182bf31d
1 changed files with 1 additions and 1 deletions

View File

@ -642,7 +642,7 @@ void blockDistInfoFromBinary(const char* data, int32_t len, STableBlockDist* pDi
outputBuf = (char*) tbufReadBinary(&br, &originalLen);
}
pDist->dataBlockInfos = taosArrayFromList(outputBuf, numOfBlocks, sizeof(SFileBlockInfo));
pDist->dataBlockInfos = taosArrayFromList(outputBuf, (uint32_t) numOfBlocks, sizeof(SFileBlockInfo));
if (comp) {
tfree(outputBuf);
}