From 791b078cf1318e06a0933c3d8e13bc579198f4c1 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 14 Oct 2015 17:53:01 +0300 Subject: [PATCH] Fix compilation error on Linux caused by previous commit --- src/SMESHGUI/SMESHGUI_SewingDlg.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2