Skip to content

Commit

Permalink
Fixup signed comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Apr 18, 2017
1 parent 1954bb6 commit 4e1df1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/widgets/listbox.cpp
Expand Up @@ -254,7 +254,7 @@ bool listbox::select_row(const unsigned row, const bool select)
{
assert(generator_);

int before = generator_->get_selected_item_count();
unsigned int before = generator_->get_selected_item_count();
generator_->select_item(row, select);

return before != generator_->get_selected_item_count();
Expand Down

0 comments on commit 4e1df1c

Please sign in to comment.