Quell g++ 4.3 warning about operator ambiguity
This commit is contained in:
@@ -1074,7 +1074,7 @@ let {{
|
||||
// Fall through on purpose
|
||||
case SegIntGateCheck:
|
||||
// Make sure the gate's the right type.
|
||||
if (m5reg.mode == LongMode && ((desc.type & 0xe) != 0xe) ||
|
||||
if ((m5reg.mode == LongMode && (desc.type & 0xe) != 0xe) ||
|
||||
((desc.type & 0x6) != 0x6)) {
|
||||
fault = new GeneralProtection(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user