mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-08 04:29:23 +00:00
Fix compile time warning on enum compare
This commit is contained in:
parent
767b97311b
commit
c6e1af7ff4
@ -1874,7 +1874,7 @@ static void update_display_static(driver_base *drv)
|
||||
|
||||
// Check for first column from left and first column from right that have changed
|
||||
if (high) {
|
||||
if (VIDEO_MODE_DEPTH < VIDEO_DEPTH_8BIT) {
|
||||
if ((int)VIDEO_MODE_DEPTH < VIDEO_DEPTH_8BIT) {
|
||||
const int src_bytes_per_row = bytes_per_row;
|
||||
const int dst_bytes_per_row = drv->s->pitch;
|
||||
const int pixels_per_byte = VIDEO_MODE_X / src_bytes_per_row;
|
||||
|
Loading…
Reference in New Issue
Block a user