Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/qhull
diff options
context:
space:
mode:
authorVojtech Bubnik <bubnikv@gmail.com>2021-02-10 19:28:56 +0300
committerVojtech Bubnik <bubnikv@gmail.com>2021-02-10 19:29:07 +0300
commitdb2d78ff21389799eb78399263952323bb1a8e2b (patch)
tree67845ad57eec2e9947ebe62d59066f73d982ab53 /src/qhull
parent296442161819f2d404fb99bd72d2af6cc8403c56 (diff)
Reduction on compiler warnings, mainly on MSVC.
Fix of the new gap_fill_enable flag: Take it into account when comparing regions.
Diffstat (limited to 'src/qhull')
-rw-r--r--src/qhull/src/libqhull_r/geom2_r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qhull/src/libqhull_r/geom2_r.c b/src/qhull/src/libqhull_r/geom2_r.c
index 48addba1c..0345440be 100644
--- a/src/qhull/src/libqhull_r/geom2_r.c
+++ b/src/qhull/src/libqhull_r/geom2_r.c
@@ -2054,7 +2054,7 @@ pointT *qh_voronoi_center(qhT *qh, int dim, setT *points) {
factor= qh_divzero(0.5, det, qh->MINdenom, &infinite);
if (infinite) {
for (k=dim; k--; )
- center[k]= qh_INFINITE;
+ center[k]= (float)qh_INFINITE;
if (qh->IStracing)
qh_printpoints(qh, qh->ferr, "qh_voronoi_center: at infinity for ", simplex);
}else {