提交 92db1ea6 编写于 作者: Y yihaoDeng

fix compile error on windows

上级 9be6fb9b
...@@ -4400,7 +4400,7 @@ static void freeTableBlockDist(STableBlockDist *pTableBlockDist) { ...@@ -4400,7 +4400,7 @@ static void freeTableBlockDist(STableBlockDist *pTableBlockDist) {
free(pTableBlockDist); free(pTableBlockDist);
} }
} }
static int32_t getPercentileFromSortedArray(const SArray* pArray, float rate) { static int32_t getPercentileFromSortedArray(const SArray* pArray, double rate) {
int32_t len = (int32_t)taosArrayGetSize(pArray); int32_t len = (int32_t)taosArrayGetSize(pArray);
if (len <= 0) { if (len <= 0) {
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册