VirtualBox

Changeset 33350 in vbox for trunk/include


Ignore:
Timestamp:
Oct 22, 2010 1:17:49 PM (14 years ago)
Author:
vboxsync
Message:

iprt/asm.h: Missing paranthesis and variable usage.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/asm.h

    r33284 r33350  
    13221322        bool fMacroRet = ASMAtomicCmpXchgExPtrVoid((void * volatile *)ppvTypeChecked, \
    13231323                                                   (void *)pvNewTypeChecked, (void *)pvOldTypeChecked, \
    1324                                                    (void **)ppvOld); \
     1324                                                   (void **)ppvOldTypeChecked); \
    13251325        fMacroRet; \
    13261326     })
    13271327#else
    13281328# define ASMAtomicCmpXchgExPtr(ppv, pvNew, pvOld, ppvOld) \
    1329     ASMAtomicCmpXchgExPtrVoid((void * volatile *)(ppv), (void *)(pvNew), (void *)pvOld, (void **)ppvOld)
     1329    ASMAtomicCmpXchgExPtrVoid((void * volatile *)(ppv), (void *)(pvNew), (void *)(pvOld), (void **)(ppvOld))
    13301330#endif
    13311331
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