Merge pull request #200 from aviallon/patch-int-narrowing

Fix build fail under GCC 10
This commit is contained in:
asvitkine 2020-06-20 13:48:03 -04:00 committed by GitHub
commit b2d281e5ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -736,7 +736,7 @@ static int16 VideoStatus(uint32 pb, VidLocals *csSave)
case cscGetNextResolution: {
D(bug("GetNextResolution \n"));
int work_id = ReadMacInt32(param + csPreviousDisplayModeID);
unsigned int work_id = ReadMacInt32(param + csPreviousDisplayModeID);
switch (work_id) {
case kDisplayModeIDCurrent:
work_id = csSave->saveData;