Changeset 12922 in vbox for trunk/src/VBox/Runtime/r0drv/linux
- Timestamp:
- Oct 2, 2008 10:12:43 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 37334
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/mp-r0drv-linux.c
r10866 r12922 50 50 RTDECL(int) RTMpCpuIdToSetIndex(RTCPUID idCpu) 51 51 { 52 return idCpu < NR_CPUS ? idCpu : -1;52 return idCpu < NR_CPUS ? (int)idCpu : -1; 53 53 } 54 54 … … 56 56 RTDECL(RTCPUID) RTMpCpuIdFromSetIndex(int iCpu) 57 57 { 58 return iCpu < NR_CPUS ? iCpu : NIL_RTCPUID;58 return iCpu < NR_CPUS ? (RTCPUID)iCpu : NIL_RTCPUID; 59 59 } 60 60
Note:
See TracChangeset
for help on using the changeset viewer.