VirtualBox

Changeset 2184 in vbox for trunk


Ignore:
Timestamp:
Apr 18, 2007 2:41:53 PM (18 years ago)
Author:
vboxsync
Message:

Compile fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/SELMAll.cpp

    r2183 r2184  
    139139                &&  CPUMAreHiddenSelRegsValid(pVM))
    140140            {
    141                 *ppvGC = (RTGCPTR)(pHiddenSel->u32Base + Addr);
     141                *ppvGC = (RTGCPTR)(pHiddenSel->u32Base + (RTGCUINTPTR)Addr);
    142142            }
    143143            else
     
    422422                uFlat = ((RTGCUINTPTR)Addr & 0xffff) + ((RTGCUINTPTR)SelCS << 4);
    423423            else
    424                 uFlat = pHiddenCSSel->u32Base + Addr;
     424                uFlat = pHiddenCSSel->u32Base + (RTGCUINTPTR)Addr;
    425425
    426426            *ppvFlat = (RTGCPTR)uFlat;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette