trivial fix for compiler warning

1>c:\libs\nana\include\nana\gui\widgets\listbox.hpp(251): warning C4018: '<' : signed/unsigned mismatch (..\form_do_you_even_lift.cpp)
1>          c:\projects\bro\form_do_you_even_lift.cpp(646) : see reference to function template instantiation 'nana::drawerbase::listbox::item_proxy &nana::drawerbase::listbox::item_proxy::resolve_from<Data>(const T &)' being compiled
1>          with
1>          [
1>              T=Data
1>          ]
This commit is contained in:
beru 2015-04-25 16:43:39 +09:00
parent 458c6b1d3c
commit c6c910af73

View File

@ -248,7 +248,7 @@ namespace nana
auto && cells = ores.move_cells(); auto && cells = ores.move_cells();
auto cols = columns(); auto cols = columns();
cells.resize(cols); cells.resize(cols);
for (auto pos = 0; pos < cols; ++pos) for (auto pos = 0u; pos < cols; ++pos)
{ {
auto & el = cells[pos]; auto & el = cells[pos];
if (el.text.size() == 1 && el.text[0] == nana::char_t(0)) if (el.text.size() == 1 && el.text[0] == nana::char_t(0))