git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15953 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-12-14 20:44:04 +00:00
parent 4a86f888be
commit dd62d83517
1 changed files with 1 additions and 1 deletions

View File

@ -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))), \