VirtualBox

Changeset 15942 in vbox for trunk/src/VBox/VMM/testcase


Ignore:
Timestamp:
Jan 14, 2009 1:20:58 PM (16 years ago)
Author:
vboxsync
Message:

gcc warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstMicro.cpp

    r14831 r15942  
    171171        PX86DESC pGDTE = &paGDTEs[Sel >> X86_SEL_SHIFT];
    172172        pGDTE->au32[0] = pGDTE->au32[1] = 0;
    173         pGDTE->Gen.u16LimitLow  = ~0;
    174         pGDTE->Gen.u4LimitHigh  = ~0;
     173        pGDTE->Gen.u16LimitLow  = 0xffff;
     174        pGDTE->Gen.u4LimitHigh  = 0xf;
    175175        pGDTE->Gen.u1Granularity= 1;
    176176        pGDTE->Gen.u1Present    = 1;
     
    183183        pGDTE++;
    184184        pGDTE->au32[0] = pGDTE->au32[1] = 0;
    185         pGDTE->Gen.u16LimitLow  = ~0;
    186         pGDTE->Gen.u4LimitHigh  = ~0;
     185        pGDTE->Gen.u16LimitLow  = 0xffff;
     186        pGDTE->Gen.u4LimitHigh  = 0xf;
    187187        pGDTE->Gen.u1Granularity= 1;
    188188        pGDTE->Gen.u1Present    = 1;
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