From: Wolfgang Bangerth Date: Wed, 12 Jan 2011 01:24:40 +0000 (+0000) Subject: Avoid a warning with signed vs unsigned comparison. X-Git-Tag: v8.0.0~4500 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74c00e2f9f63e51c95173e6659c47ad2d1e12780;p=dealii.git Avoid a warning with signed vs unsigned comparison. git-svn-id: https://svn.dealii.org/trunk@23177 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/contrib/parameter_gui/parameter_delegate.cpp b/deal.II/contrib/parameter_gui/parameter_delegate.cpp index f0754f4402..da28c2aa94 100644 --- a/deal.II/contrib/parameter_gui/parameter_delegate.cpp +++ b/deal.II/contrib/parameter_gui/parameter_delegate.cpp @@ -246,7 +246,7 @@ void ParameterDelegate::setEditorData(QWidget *editor, const QModelIndex &index) QComboBox * combo_box = qobject_cast(editor); - for (unsigned int i=0; icount(); ++i) // we look, which index + for (int i=0; icount(); ++i) // we look, which index if (rx.exactMatch(combo_box->itemText(i))) // the data has and set combo_box->setCurrentIndex(i); // it to the combo_box }