diff --git a/src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx b/src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx index 482d5c8d6..f9c29e175 100644 --- a/src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx @@ -1237,7 +1237,7 @@ void SMESHGUI_ExtrusionDlg::getExtrusionVector(SMESH::DirStruct& aVector) { aNormale /= aNormale.Modulus(); - long aVDist = (long)SpinBox_VDist->value(); + double aVDist = (double)SpinBox_VDist->value(); aVector.PS.x = aNormale.X()*aVDist; aVector.PS.y = aNormale.Y()*aVDist;