From: vsr Date: Wed, 14 Oct 2015 14:53:01 +0000 (+0300) Subject: Fix compilation error on Linux caused by previous commit X-Git-Tag: V7_7_0_WIN~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=791b078cf1318e06a0933c3d8e13bc579198f4c1;p=modules%2Fsmesh.git Fix compilation error on Linux caused by previous commit --- diff --git a/src/SMESHGUI/SMESHGUI_SewingDlg.cxx b/src/SMESHGUI/SMESHGUI_SewingDlg.cxx index 4c8fd2580..d7a47f7d0 100644 --- a/src/SMESHGUI/SMESHGUI_SewingDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_SewingDlg.cxx @@ -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;