Skip to content

Commit 77723b6

Browse files
committed
Fix compiler warning
1 parent e1598a9 commit 77723b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wled00/FX_2Dfcn.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ void IRAM_ATTR Segment::setPixelColorXY(int x, int y, uint32_t col)
246246
uint32_t tmpCol = col;
247247
for (int j = 0; j < grouping; j++) { // groupping vertically
248248
for (int g = 0; g < grouping; g++) { // groupping horizontally
249-
unsigned xX = (x+g), yY = (y+j);
249+
int xX = (x+g), yY = (y+j);
250250
if (xX >= W || yY >= H) continue; // we have reached one dimension's end
251251

252252
#ifndef WLED_DISABLE_MODE_BLEND

0 commit comments

Comments
 (0)