forked from Mirrors/freeswitch
try that
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15953 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
4a86f888be
commit
dd62d83517
@ -63,7 +63,7 @@ const unsigned sdp_struct_align_ = sizeof(void *) - STRUCT_ALIGN_;
|
||||
|
||||
|
||||
#define STRUCT_DUP(p, dst, src) \
|
||||
ASSERT_STRUCT_ALIGN(p); \
|
||||
ASSERT_STRUCT_ALIGN(p); \
|
||||
((*(int*)(src) >= (int)sizeof(*src) \
|
||||
? (dst = memcpy((p), (src), sizeof(*src))) \
|
||||
: (dst = memcpy((p), (src), *(int*)(src))), \
|
||||
|
Loading…
Reference in New Issue
Block a user