From: nadir Date: Mon, 24 Nov 2003 13:23:48 +0000 (+0000) Subject: more or less changes due to the warning at compilation time. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=67a78d32fcf31ef22695a8a63733f70966be8a65;p=modules%2Fsmesh.git more or less changes due to the warning at compilation time. --- diff --git a/src/SMESHGUI/SMESHGUI_NbSegmentsDlg.cxx b/src/SMESHGUI/SMESHGUI_NbSegmentsDlg.cxx index 838b900ff..a4d05a749 100644 --- a/src/SMESHGUI/SMESHGUI_NbSegmentsDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_NbSegmentsDlg.cxx @@ -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 ; } }