diff --git a/src/Gui/CommandView.cpp b/src/Gui/CommandView.cpp index c657289ee7..26eb5434fc 100644 --- a/src/Gui/CommandView.cpp +++ b/src/Gui/CommandView.cpp @@ -2698,7 +2698,7 @@ public: } #endif QPixmap px(Gui::BitmapFactory().pixmapFromSvg(svgFile, size)); - return QCursor(px, hotXF, hotYF); + return QCursor(px, static_cast(hotXF), static_cast(hotYF)); } }; }