mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-26 10:49:21 +00:00
Fix build fail under GCC 10
GCC fails to build because of -Wnarrowing
This commit is contained in:
parent
cbad6f95ea
commit
f13f25db3e
@ -736,7 +736,7 @@ static int16 VideoStatus(uint32 pb, VidLocals *csSave)
|
|||||||
|
|
||||||
case cscGetNextResolution: {
|
case cscGetNextResolution: {
|
||||||
D(bug("GetNextResolution \n"));
|
D(bug("GetNextResolution \n"));
|
||||||
int work_id = ReadMacInt32(param + csPreviousDisplayModeID);
|
unsigned int work_id = ReadMacInt32(param + csPreviousDisplayModeID);
|
||||||
switch (work_id) {
|
switch (work_id) {
|
||||||
case kDisplayModeIDCurrent:
|
case kDisplayModeIDCurrent:
|
||||||
work_id = csSave->saveData;
|
work_id = csSave->saveData;
|
||||||
|
Loading…
Reference in New Issue
Block a user