diff options
author | 2011-07-28 15:34:33 +0000 | |
---|---|---|
committer | 2011-07-28 15:34:33 +0000 | |
commit | 38e4c3f09deeb8dd59c2cd09072a4c3cd79d7b5a (patch) | |
tree | 844b063d52b38347baf8e210b82ba2c566871285 /src/emu/cpu/i86/instr286.c | |
parent | a871dbf0aa1027e9c0ddfdb02f9cd940fcb0496c (diff) |
Fix for VS2010 build (no whatsnew)
Diffstat (limited to 'src/emu/cpu/i86/instr286.c')
-rw-r--r-- | src/emu/cpu/i86/instr286.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/cpu/i86/instr286.c b/src/emu/cpu/i86/instr286.c index e188cfd8371..ce841a0fa89 100644 --- a/src/emu/cpu/i86/instr286.c +++ b/src/emu/cpu/i86/instr286.c @@ -452,7 +452,7 @@ static void i80286_interrupt_descriptor(i80286_state *cpustate,UINT16 number, in if (!CODE(r) || !SEGDESC(r)) throw TRAP(GENERAL_PROTECTION_FAULT,(IDXTBL(gatesel)+(hwint&&1))); if (DPL(r)>CPL) throw TRAP(GENERAL_PROTECTION_FAULT,(IDXTBL(gatesel)+(hwint&&1))); if (!PRES(r)) throw TRAP(SEG_NOT_PRESENT,(IDXTBL(gatesel)+(hwint&&1))); - if (GATEOFF(desc) > LIMIT(gatedesc)) throw TRAP(GENERAL_PROTECTION_FAULT,(hwint&&1)); + if (GATEOFF(desc) > LIMIT(gatedesc)) throw TRAP(GENERAL_PROTECTION_FAULT,(int)(hwint&&1)); if (!CONF(r)&&(DPL(r)<CPL)) { // inner call UINT16 tss_ss, tss_sp, oldss, oldsp; |