more or less changes due to the warning at compilation time.

This commit is contained in:
nadir 2003-11-24 13:23:48 +00:00
parent c7baaf7e92
commit 67a78d32fc

View 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 ;
}
}