Fix compiler warning from clang 3.9

(cherry picked from commit fbba865d28)
This commit is contained in:
Jean-Marc Lasgouttes 2016-10-20 09:27:12 +02:00
parent 9172cf56a5
commit d03a07b93a
2 changed files with 3 additions and 2 deletions

View File

@ -148,7 +148,7 @@ void GuiProgressView::debugMessageActivated(QTreeWidgetItem * item, int)
void GuiProgressView::levelChanged()
{
int level = Debug::NONE;
unsigned int level = Debug::NONE;
QTreeWidgetItemIterator it(widget_->debugMessagesTW);
while (*it) {
if ((*it)->text(1) == qt_("Yes"))
@ -161,7 +161,7 @@ void GuiProgressView::levelChanged()
void GuiProgressView::debugSelectionChanged()
{
int level = Debug::NONE;
unsigned int level = Debug::NONE;
if (widget_->debugAnyRB->isChecked())
level = Debug::ANY;
else if (widget_->debugSelectedRB->isChecked()) {

View File

@ -119,3 +119,4 @@ What's new
- Update boost source to 1.62.
- fix compiler warnings from clang 3.9