unsigned long __ctf_tmp_ulong = (unsigned long) (_length); \
memcpy(__stack_data, &__ctf_tmp_ulong, sizeof(unsigned long)); \
__stack_data += sizeof(unsigned long); \
- memcpy(__stack_data, (_src), sizeof(void **)); \
+ memcpy(__stack_data, &(_src), sizeof(void **)); \
__stack_data += sizeof(void **); \
}
unsigned long __ctf_tmp_ulong = (unsigned long) (_src_length); \
memcpy(__stack_data, &__ctf_tmp_ulong, sizeof(unsigned long)); \
__stack_data += sizeof(unsigned long); \
- memcpy(__stack_data, (_src), sizeof(void **)); \
+ memcpy(__stack_data, &(_src), sizeof(void **)); \
__stack_data += sizeof(void **); \
}
#undef _ctf_string
#define _ctf_string(_item, _src, _written) \
{ \
- memcpy(__stack_data, (_src), sizeof(void **)); \
- __stack_data += sizeof(void *); \
+ memcpy(__stack_data, &(_src), sizeof(void **)); \
+ __stack_data += sizeof(void **); \
}
#undef TP_ARGS