commit d03a07b93ac1906dee4f1e9f426632eca3c105f5
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Thu Oct 20 09:27:12 2016 +0200

    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 af455f2..a27f6b2 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 98afdaa..7dd223e 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

Reply via email to