]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix compilation error on Linux caused by previous commit
authorvsr <vsr@opencascade.com>
Wed, 14 Oct 2015 14:53:01 +0000 (17:53 +0300)
committervsr <vsr@opencascade.com>
Wed, 14 Oct 2015 14:53:01 +0000 (17:53 +0300)
src/SMESHGUI/SMESHGUI_SewingDlg.cxx

index 4c8fd2580a680bc15744d7f50d5d3066aceff7a5..d7a47f7d08a6bbf466eed370c439a137cd5ebf32 100644 (file)
@@ -894,7 +894,7 @@ void SMESHGUI_SewingDlg::onDetectClicked()
     }
     myBorderDisplayers.resize( myBorders->coincidentGroups.length(), 0 );
 
-    for ( CORBA::ULong i = 0; i < myBorders->coincidentGroups.length(); ++i )
+    for ( uint i = 0; i < myBorders->coincidentGroups.length(); ++i )
     {
       QString groupText = getGroupText( i );
       if ( groupText.isEmpty() )
@@ -907,7 +907,7 @@ void SMESHGUI_SewingDlg::onDetectClicked()
 
       QListWidgetItem * item = new QListWidgetItem( icon, groupText, ListCoincident );
       item->setData( GROUP_COLOR, groupColor );
-      item->setData( GROUP_INDEX, (long)i );
+      item->setData( GROUP_INDEX, i );
     }
   }
   myBusy = false;