VirtualBox

Changeset 9623

Show
Ignore:
Timestamp:
06/11/08 20:58:11 (6 months ago)
Author:
vboxsync
Message:

warnings.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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); 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy