From c6f5900694d6f42e3133a2c5e84f9e6a80ba3d53 Mon Sep 17 00:00:00 2001 From: AlexDuan <417921451@qq.com> Date: Fri, 10 Sep 2021 15:58:39 +0800 Subject: [PATCH] windows build --- src/query/src/tdigest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query/src/tdigest.c b/src/query/src/tdigest.c index dde724b2e0..2b0f0604bb 100644 --- a/src/query/src/tdigest.c +++ b/src/query/src/tdigest.c @@ -60,7 +60,7 @@ TDigest *tdigestNewFrom(void* pBuf, int compression) { t->compression = compression; t->size = (long long)GET_CENTROID(compression); - t->threshold = GET_THRESHOLD(compression); + t->threshold = (int)GET_THRESHOLD(compression); t->min = INFINITY; return t; } -- GitLab