- Timestamp:
- Apr 18, 2007 2:41:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/SELMAll.cpp
r2183 r2184 139 139 && CPUMAreHiddenSelRegsValid(pVM)) 140 140 { 141 *ppvGC = (RTGCPTR)(pHiddenSel->u32Base + Addr);141 *ppvGC = (RTGCPTR)(pHiddenSel->u32Base + (RTGCUINTPTR)Addr); 142 142 } 143 143 else … … 422 422 uFlat = ((RTGCUINTPTR)Addr & 0xffff) + ((RTGCUINTPTR)SelCS << 4); 423 423 else 424 uFlat = pHiddenCSSel->u32Base + Addr;424 uFlat = pHiddenCSSel->u32Base + (RTGCUINTPTR)Addr; 425 425 426 426 *ppvFlat = (RTGCPTR)uFlat;
Note:
See TracChangeset
for help on using the changeset viewer.