Changeset 39037 in vbox for trunk/include
- Timestamp:
- Oct 19, 2011 2:34:56 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/asm.h
r37209 r39037 761 761 762 762 # elif RT_INLINE_ASM_USES_INTRIN 763 return _InterlockedCompareExchange((long *)pu32, u32New, u32Old) == u32Old;763 return (uint32_t)_InterlockedCompareExchange((long *)pu32, u32New, u32Old) == u32Old; 764 764 765 765 # else … … 822 822 { 823 823 # if RT_INLINE_ASM_USES_INTRIN 824 return _InterlockedCompareExchange64((__int64 *)pu64, u64New, u64Old) == u64Old;824 return (uint64_t)_InterlockedCompareExchange64((__int64 *)pu64, u64New, u64Old) == u64Old; 825 825 826 826 # elif defined(RT_ARCH_AMD64) … … 4128 4128 /* whole dword. */ 4129 4129 if (iBitStart != iEnd) 4130 ASMMemFill32(pu32, (iEnd - iBitStart) >> 3, ~ 0);4130 ASMMemFill32(pu32, (iEnd - iBitStart) >> 3, ~UINT32_C(0)); 4131 4131 4132 4132 /* bits in last dword. */
Note:
See TracChangeset
for help on using the changeset viewer.