mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-28 14:24:34 +00:00
Fix sign warning (#20872)
This commit is contained in:
parent
3beb6a9df3
commit
82122fe9cd
@ -193,7 +193,7 @@
|
||||
#define STATUS_LOGO_HEIGHT (sizeof(status_logo_bmp) / (STATUS_LOGO_BYTEWIDTH))
|
||||
#endif
|
||||
#ifndef STATUS_LOGO_Y
|
||||
#define STATUS_LOGO_Y _MAX(0L, (28L - _MIN(28L, STATUS_LOGO_HEIGHT)) / 2L)
|
||||
#define STATUS_LOGO_Y _MAX(0U, (28U - _MIN(28U, STATUS_LOGO_HEIGHT)) / 2U)
|
||||
#endif
|
||||
static_assert(
|
||||
sizeof(status_logo_bmp) == (STATUS_LOGO_BYTEWIDTH) * (STATUS_LOGO_HEIGHT),
|
||||
|
Loading…
Reference in New Issue
Block a user