VirtualBox

Ignore:
Timestamp:
Jan 2, 2015 12:17:41 PM (10 years ago)
Author:
vboxsync
Message:

VBoxDTrace: darwin build fixes. (r17)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/uts/common/dtrace/dtrace.c

    r53645 r53647  
    110110# include <iprt/asm-amd64-x86.h>
    111111# define dtrace_casptr(a_ppvDst, a_pvOld, a_pvNew) \
    112         VBoxDtCompareAndSwapPtr(a_ppvDst, a_pvOld, a_pvNew)
     112        VBoxDtCompareAndSwapPtr((void * volatile *)a_ppvDst, a_pvOld, a_pvNew)
    113113DECLINLINE(void *) VBoxDtCompareAndSwapPtr(void * volatile *ppvDst, void *pvOld, void *pvNew)
    114114{
     
    97949794        dtrace_recdesc_t *rec;
    97959795        dtrace_state_t *state = ecb->dte_state;
    9796         dtrace_optval_t *opt = state->dts_options, nframes, strsize;
     9796        dtrace_optval_t *opt = state->dts_options, nframes VBDTUNASS(0), strsize;
    97979797        uint64_t arg = desc->dtad_arg;
    97989798
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