nitpicker: fix warning about truncated integer

warning: large integer implicitly truncated to unsigned type [-Woverflow]
This commit is contained in:
Christian Helmuth 2014-09-01 18:16:07 +02:00
parent 3cbbf8aa60
commit 7394f0c306
1 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ void View_stack::sort_views_by_layer()
while (_views.first()) {
/* find view with the lowest layer */
unsigned lowest_layer = ~0UL;
unsigned lowest_layer = ~0U;
View_stack_elem *lowest_view = nullptr;
for (View_stack_elem *v = _views.first(); v; v = v->next()) {
unsigned const layer = static_cast<View *>(v)->session().layer();