Skip to content

Commit cfa7717

Browse files
author
dave
committed
#552 - fix compile issue on ESP32 LCD case
1 parent 3f0caad commit cfa7717

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

xmlPlugins/core-display/fullLcd/tcMenuLiquidCrystal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ void LiquidCrystalRenderer::drawMenuItem(GridPositionRowCacheEntry* entry, Coord
133133
}
134134

135135
void LiquidCrystalRenderer::setupEditorPlacement(int32_t x, int32_t y) {
136-
lcdEditorCursorX = min((width - 1), x);
136+
lcdEditorCursorX = min(int32_t(width - 1), x);
137137
lcdEditorCursorY = y;
138138
}
139139

0 commit comments

Comments
 (0)