Changeset 1443 in vbox
- Timestamp:
- Mar 13, 2007 3:09:02 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/SELMAll.cpp
r1408 r1443 96 96 || eflags.Bits.u1VM) 97 97 { 98 RTGCUINTPTR uFlat = ((RTGCUINTPTR)Addr & 0xffff) + ( Sel << 4);98 RTGCUINTPTR uFlat = ((RTGCUINTPTR)Addr & 0xffff) + ((RTGCUINTPTR)Sel << 4); 99 99 return (RTGCPTR)uFlat; 100 100 } … … 135 135 if (ppvGC) 136 136 { 137 RTGCUINTPTR uFlat = ((RTGCUINTPTR)Addr & 0xffff) + ( Sel << 4);137 RTGCUINTPTR uFlat = ((RTGCUINTPTR)Addr & 0xffff) + ((RTGCUINTPTR)Sel << 4); 138 138 *ppvGC = (RTGCPTR)uFlat; 139 139 } … … 383 383 if (ppvFlat) 384 384 { 385 RTGCUINTPTR uFlat = ((RTGCUINTPTR)Addr & 0xffff) + ( SelCS << 4);385 RTGCUINTPTR uFlat = ((RTGCUINTPTR)Addr & 0xffff) + ((RTGCUINTPTR)SelCS << 4); 386 386 *ppvFlat = (RTGCPTR)uFlat; 387 387 }
Note:
See TracChangeset
for help on using the changeset viewer.