Skip to content

Commit

Permalink
Fixed warnings. Refs #13894
Browse files Browse the repository at this point in the history
  • Loading branch information
palvarezlopez committed Dec 19, 2023
1 parent 6d3ad22 commit 9e38384
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/gui/div/GUIGeometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ GUIGeometry::drawGeometry(const GUIVisualizationSettings::Detail d, const GUIGeo
GLHelper::drawBoxLines(geometry.getShape(), geometry.getShapeRotations(), geometry.getShapeLengths(), width, 0, offset);
} else if (d < GUIVisualizationSettings::Detail::GeometryBoxSimpleLine) {
// set line width
glLineWidth(width);
glLineWidth(static_cast<double>(width));
// draw a simple line
GLHelper::drawLine(geometry.getShape());
// restore line width
Expand All @@ -297,7 +297,7 @@ GUIGeometry::drawGeometry(const GUIVisualizationSettings::Detail d, const GUIGeo
// set width
if (d < GUIVisualizationSettings::Detail::GeometryBoxSimpleLine) {
// set line width
glLineWidth(width);
glLineWidth(static_cast<double>(width));
// draw a simple line
GLHelper::drawLine(geometry.getShape());
// restore line width
Expand Down

0 comments on commit 9e38384

Please sign in to comment.