VirtualBox

Changeset 9468 in vbox


Ignore:
Timestamp:
Jun 6, 2008 12:14:44 PM (17 years ago)
Author:
vboxsync
Message:

Fixed RTTIMER_FLAGS_ARE_VALID.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/timer.h

    r9444 r9468  
    134134#define RTTIMER_FLAGS_CPU(iCpu)      ( (iCpu) | RTTIMER_FLAG_CPU_SPECIFIC )
    135135/** Macro that validates the flags. */
    136 #define RTTIMER_FLAGS_ARE_VALID(fFlags) ( !((fFlags) & ((fFlags) & RTTIMER_FLAGS_CPU_SPECIFIC ? 0x1ff : 0x100)) )
     136#define RTTIMER_FLAGS_ARE_VALID(fFlags) ( !((fFlags) & ~((fFlags) & RTTIMER_FLAGS_CPU_SPECIFIC ? 0x1ffU : 0x100U)) )
    137137/** @} */
    138138
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