mirror of
https://github.com/memtest86plus/memtest86plus.git
synced 2024-11-23 08:26:23 -06:00
Fix warning about mismatched comparison operands in 32-bit build.
This commit is contained in:
parent
06c2769abe
commit
2cd060b22c
@ -197,8 +197,8 @@ void screen_init(void)
|
||||
// This will produce a garbled display, but that's better than nothing.
|
||||
if (lfb_stride > 32768) {
|
||||
lfb_stride = 32768;
|
||||
if (lfb_width > (lfb_stride / lfb_bytes_per_pixel)) {
|
||||
lfb_width = (lfb_stride / lfb_bytes_per_pixel);
|
||||
if (lfb_width > (int)(lfb_stride / lfb_bytes_per_pixel)) {
|
||||
lfb_width = (int)(lfb_stride / lfb_bytes_per_pixel);
|
||||
}
|
||||
}
|
||||
if (lfb_height > 8192) lfb_height = 8192;
|
||||
|
Loading…
Reference in New Issue
Block a user