fix compile error on windows

This commit is contained in:
yihaoDeng 2021-01-20 01:58:36 +00:00
parent 9b387049cc
commit 40da35fa07
1 changed files with 1 additions and 1 deletions

View File

@ -4401,7 +4401,7 @@ static void freeTableBlockDist(STableBlockDist *pTableBlockDist) {
}
}
static int32_t getPercentileFromSortedArray(const SArray* pArray, float rate) {
int32_t len = taosArrayGetSize(pArray);
int32_t len = (int32_t)taosArrayGetSize(pArray);
if (len <= 0) {
return 0;
}