From: Jean-Marc Lasgouttes Date: Thu, 20 Oct 2016 07:27:12 +0000 (+0200) Subject: Fix compiler warning from clang 3.9 X-Git-Tag: 2.2.3~183 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=d03a07b93ac1906dee4f1e9f426632eca3c105f5;p=features.git Fix compiler warning from clang 3.9 (cherry picked from commit fbba865d288d98a71c37a17458c5e02143392d9a) --- 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