On Thu, Nov 07, 2024 at 10:09:26AM +0200, Andy Shevchenko wrote: > On Wed, Nov 06, 2024 at 10:55:09PM +0100, Hans de Goede wrote: ... > > f->width = min_t(u32, f->width, 1920); > > + f->height = min_t(u32, f->height, 1440); > > Perhaps umin() instead of min_t() in both cases? ...or min(..., 1920U); and similar for the second one. -- With Best Regards, Andy Shevchenko