avoid compile error in g++10

This commit is contained in:
kanjitalk755 2020-06-03 19:10:08 +09:00
parent 9895200f79
commit 607f4ed354

View File

@ -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;