mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-06 06:58:15 +00:00
Fix warning about signed vs unsigned comparison
This commit is contained in:
parent
8c2a99f952
commit
bc96cd00fb
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user