Salome HOME
updating or adding when merging in the main trunk with the version in the
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_NbSegmentsDlg.cxx
index 838b900..a4d05a7 100644 (file)
@@ -242,7 +242,8 @@ void SMESHGUI_NbSegmentsDlg::ClickOnApply()
     case 0 :
       { 
        myNbSeg = SpinBox_NbSeg->value() ;
-       mySMESHGUI->CreateNbSegments( "NumberOfSegments", myNameHypothesis, myNbSeg );
+       int nbSegInt = int(myNbSeg);
+       mySMESHGUI->CreateNbSegments( "NumberOfSegments", myNameHypothesis, nbSegInt );
        break ;
       }
     }