From d03a07b93ac1906dee4f1e9f426632eca3c105f5 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Thu, 20 Oct 2016 09:27:12 +0200 Subject: [PATCH] Fix compiler warning from clang 3.9 (cherry picked from commit fbba865d288d98a71c37a17458c5e02143392d9a) --- src/frontends/qt4/GuiProgressView.cpp | 4 ++-- status.22x | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt4/GuiProgressView.cpp b/src/frontends/qt4/GuiProgressView.cpp index af455f2b88..a27f6b2dc0 100644 --- a/src/frontends/qt4/GuiProgressView.cpp +++ b/src/frontends/qt4/GuiProgressView.cpp @@ -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()) { diff --git a/status.22x b/status.22x index 98afdaa364..7dd223e6c3 100644 --- a/status.22x +++ b/status.22x @@ -119,3 +119,4 @@ What's new - Update boost source to 1.62. +- fix compiler warnings from clang 3.9