Fix sign warning (#20872)
This commit is contained in:
parent
7c28d6b869
commit
2c983d6c7a
|
@ -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 a new issue