Minor Updates (#1241)

This commit is contained in:
LordGrey
2021-05-16 18:33:24 +02:00
committed by GitHub
parent 016855898a
commit feec395756
5 changed files with 6 additions and 6 deletions

View File

@@ -59,7 +59,7 @@ ImageToLedsMap::ImageToLedsMap(
const auto maxYLedCount = qMin(maxY_idx, yOffset+actualHeight);
const auto maxXLedCount = qMin(maxX_idx, xOffset+actualWidth);
std::vector<unsigned> ledColors;
std::vector<int32_t> ledColors;
ledColors.reserve((size_t) maxXLedCount*maxYLedCount);
for (unsigned y = minY_idx; y < maxYLedCount; ++y)