From 92db1ea6e82064e68a8b75b9bb023c68d9c410ac Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Wed, 20 Jan 2021 02:42:15 +0000 Subject: [PATCH] fix compile error on windows --- src/query/src/qExecutor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query/src/qExecutor.c b/src/query/src/qExecutor.c index e15caaf0e9..bda0a15425 100644 --- a/src/query/src/qExecutor.c +++ b/src/query/src/qExecutor.c @@ -4400,7 +4400,7 @@ static void freeTableBlockDist(STableBlockDist *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); if (len <= 0) { return 0; -- GitLab