VirtualBox

Changeset 39038 in vbox for trunk/src/VBox/VMM/VMMRC


Ignore:
Timestamp:
Oct 19, 2011 2:36:27 PM (13 years ago)
Author:
vboxsync
Message:

VMM: -W4 warnings (MSC).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMRC/TRPMRCHandlers.cpp

    r37955 r39038  
    142142    if (    rc != VINF_EM_RAW_GUEST_TRAP
    143143        &&  rc != VINF_EM_RAW_RING_SWITCH_INT)
    144         pVCpu->trpm.s.uActiveVector = ~0;
     144        pVCpu->trpm.s.uActiveVector = UINT32_MAX;
    145145
    146146#ifdef VBOX_HIGH_RES_TIMERS_HACK
     
    694694             * starting from the instruction which caused the trap.
    695695             */
    696             pTrpmCpu->uActiveVector = ~0;
     696            pTrpmCpu->uActiveVector = UINT32_MAX;
    697697            Log6(("TRPMGC0b: %Rrc (%04x:%08x) (CG)\n", VINF_EM_RAW_RING_SWITCH, pRegFrame->cs, pRegFrame->eip));
    698698            PGMRZDynMapReleaseAutoSet(pVCpu);
     
    869869        case OP_BOUND:
    870870        case OP_INTO:
    871             pVCpu->trpm.s.uActiveVector = ~0;
     871            pVCpu->trpm.s.uActiveVector = UINT32_MAX;
    872872            return trpmGCExitTrap(pVM, pVCpu, VINF_EM_RAW_RING_SWITCH, pRegFrame);
    873873
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