VirtualBox

Changeset 9623 in vbox for trunk/include/iprt/cpuset.h


Ignore:
Timestamp:
Jun 11, 2008 6:58:11 PM (16 years ago)
Author:
vboxsync
Message:

warnings.

File:
1 edited

Legend:

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

    r9622 r9623  
    137137 * @remarks The test is atomic.
    138138 */
    139 DECLINLINE(bool) RTCpuSetIsMemberByIndex(PCRTCPUSET pSet, RTCPUID iCpu)
    140 {
    141     if (RT_UNLIKELY(iCpu >= RTCPUSET_MAX_CPUS))
     139DECLINLINE(bool) RTCpuSetIsMemberByIndex(PCRTCPUSET pSet, int iCpu)
     140{
     141    if (RT_UNLIKELY((unsigned)iCpu >= RTCPUSET_MAX_CPUS))
    142142        return false;
    143143    return ASMBitTest((volatile void *)pSet, iCpu);
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