VirtualBox

Changeset 92891 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Dec 14, 2021 8:56:59 AM (3 years ago)
Author:
vboxsync
Message:

iprt/timer.h: RTTIMER_FLAGS_ARE_VALID tweaking.

File:
1 edited

Legend:

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

    r85121 r92891  
    141141/** Macro that validates the flags. */
    142142#define RTTIMER_FLAGS_ARE_VALID(fFlags) \
    143     ( !((fFlags) & ~((fFlags) & RTTIMER_FLAGS_CPU_SPECIFIC ? UINT32_C(0x3ffff) : UINT32_C(0x30000))) )
     143    ( !((fFlags) & ((fFlags) & RTTIMER_FLAGS_CPU_SPECIFIC ? ~UINT32_C(0x3ffff) : ~UINT32_C(0x30000))) )
    144144/** @} */
    145145
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