From 607f4ed354d6017132d0c1e8e4a4617b86c2aebf Mon Sep 17 00:00:00 2001 From: kanjitalk755 Date: Wed, 3 Jun 2020 19:10:08 +0900 Subject: [PATCH] avoid compile error in g++10 --- SheepShaver/src/video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SheepShaver/src/video.cpp b/SheepShaver/src/video.cpp index d0eda93d..60ef8c13 100644 --- a/SheepShaver/src/video.cpp +++ b/SheepShaver/src/video.cpp @@ -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;