diff --git a/Marlin/src/lcd/tft/touch.cpp b/Marlin/src/lcd/tft/touch.cpp index 6bfc0a8abde4..6c81ebefcda7 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();