提交 f651179a 编写于 作者: W wpan

fix windows compile error

上级 2487a9ce
......@@ -113,7 +113,7 @@ void tdigestCompress(TDigest *t) {
t->num_buffered_pts = 0;
qsort(unmerged_centroids, num_unmerged, sizeof(SCentroid), cmpCentroid);
args.centroids = (SCentroid*)calloc(sizeof(SCentroid), t->size);
args.centroids = (SCentroid*)calloc(sizeof(SCentroid), (size_t)t->size);
args.t = t;
args.min = INFINITY;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册