diff --git a/Marlin/src/lcd/tft/touch.cpp b/Marlin/src/lcd/tft/touch.cpp index 6bfc0a8abd..6c81ebefcd 100644 --- a/Marlin/src/lcd/tft/touch.cpp +++ b/Marlin/src/lcd/tft/touch.cpp @@ -252,7 +252,7 @@ void Touch::touch(touch_control_t *control) { void Touch::hold(touch_control_t *control, millis_t delay) { current_control = control; if (delay) { - repeat_delay = _MAX(delay, MIN_REPEAT_DELAY); + repeat_delay = _MAX(delay, uint32_t(MIN_REPEAT_DELAY)); time_to_hold = next_touch_ms + repeat_delay; } ui.refresh();