]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
more or less changes due to the warning at compilation time.
authornadir <nadir>
Mon, 24 Nov 2003 13:23:48 +0000 (13:23 +0000)
committernadir <nadir>
Mon, 24 Nov 2003 13:23:48 +0000 (13:23 +0000)
src/SMESHGUI/SMESHGUI_NbSegmentsDlg.cxx

index 838b900ffdd6d30db13656a612bdec040840a12c..a4d05a749df233fd2d4f98238e4ce13af851d506 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 ;
       }
     }