Skip to content

Commit

Permalink
Fix warning about signed vs unsigned comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
dacap committed Nov 14, 2019
1 parent 8c2a99f commit bc96cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/palette_picks.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit bc96cd0

Please sign in to comment.