Quell g++ 4.3 warning about operator ambiguity
This commit is contained in:
parent
64eb0dc9cd
commit
e1798d063e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue