提交 5509e481 编写于 作者: A AlexDuan

x86 build err

上级 1223a29f
...@@ -124,7 +124,7 @@ void tdigestCompress(TDigest *t) { ...@@ -124,7 +124,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((size_t)(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, (size_t)(sizeof(Centroid) * t->size));
args.t = t; args.t = t;
args.min = INFINITY; args.min = INFINITY;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册