VirtualBox

Changeset 11331 in vbox for trunk/src


Ignore:
Timestamp:
Aug 11, 2008 11:41:51 AM (16 years ago)
Author:
vboxsync
Message:

iprt/mp-solaris: build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/solaris/mp-solaris.cpp

    r11330 r11331  
    193193RTDECL(int) RTMpCpuIdToSetIndex(RTCPUID idCpu)
    194194{
    195     return idCpu < RTCPUSET_MAX_CPUS ? idCpu : -1;
     195    return idCpu < RTCPUSET_MAX_CPUS ? (int)idCpu : -1;
    196196}
    197197
     
    239239{
    240240    RTCpuSetEmpty(pSet);
    241     int cCpus = RTMpGetCount()
     241    int cCpus = RTMpGetCount();
    242242    while (cCpus-- > 0)
    243243        RTCpuSetAdd(pSet, idCpu);
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