提交 1223a29f 编写于 作者: A AlexDuan

window x86 build error

上级 d05b6931
...@@ -123,7 +123,7 @@ void tdigestCompress(TDigest *t) { ...@@ -123,7 +123,7 @@ void tdigestCompress(TDigest *t) {
qsort(unmerged_centroids, num_unmerged, sizeof(Centroid), centroid_cmp); qsort(unmerged_centroids, num_unmerged, sizeof(Centroid), centroid_cmp);
memset(&args, 0, sizeof(MergeArgs)); memset(&args, 0, sizeof(MergeArgs));
args.centroids = (Centroid*)malloc(sizeof(Centroid) * t->size); args.centroids = (Centroid*)malloc((size_t)(sizeof(Centroid) * t->size));
memset(args.centroids, 0, sizeof(Centroid) * t->size); memset(args.centroids, 0, sizeof(Centroid) * t->size);
args.t = t; args.t = t;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册