From cc8948983efe650dd8d63b04c925861559607a9b Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 25 Jul 2018 17:49:28 +0200 Subject: [PATCH] minor fix --- src/Base/Tools2D.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Base/Tools2D.cpp b/src/Base/Tools2D.cpp index b2703207da..674d14c2aa 100644 --- a/src/Base/Tools2D.cpp +++ b/src/Base/Tools2D.cpp @@ -281,7 +281,7 @@ BoundBox2d Polygon2d::CalcBoundBox (void) const static short _CalcTorsion (double *pfLine, double fX, double fY) { - short sQuad[2], i; + int sQuad[2], i; // Changing this from short to int allows the compiler to inline this function double fResX; // Klassifizierung der beiden Polygonpunkte in Quadranten