Fix warning about signed vs unsigned comparison

This commit is contained in:
David Capello 2019-11-14 12:37:50 -03:00
parent 8c2a99f952
commit bc96cd00fb

View File

@ -73,7 +73,7 @@ namespace doc {
std::vector<color_t> toVectorOfIndexes() const {
std::vector<color_t> result(picks());
for (color_t i=0, j=0; i<size(); ++i) {
for (color_t i=0, j=0; i<(color_t)size(); ++i) {
if (m_items[i])
result[j++] = i;
}