VirtualBox

Ignore:
Timestamp:
Oct 2, 2008 10:12:43 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
37334
Message:

warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/mp-r0drv-linux.c

    r10866 r12922  
    5050RTDECL(int) RTMpCpuIdToSetIndex(RTCPUID idCpu)
    5151{
    52     return idCpu < NR_CPUS ? idCpu : -1;
     52    return idCpu < NR_CPUS ? (int)idCpu : -1;
    5353}
    5454
     
    5656RTDECL(RTCPUID) RTMpCpuIdFromSetIndex(int iCpu)
    5757{
    58     return iCpu < NR_CPUS ? iCpu : NIL_RTCPUID;
     58    return iCpu < NR_CPUS ? (RTCPUID)iCpu : NIL_RTCPUID;
    5959}
    6060
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