fix clang -Wgnu-variable-sized-type-not-at-end complains

parent 9d85ca0e
......@@ -1118,10 +1118,7 @@ int rtp_session_rtp_recv_abstract(ortp_socket_t socket, mblk_t *msg, int flags,
struct iovec iov;
struct msghdr msghdr;
struct cmsghdr *cmsghdr;
struct {
struct cmsghdr cm;
char control[512];
} control;
memset(&msghdr, 0, sizeof(msghdr));
memset(&iov, 0, sizeof(iov));
iov.iov_base = msg->b_wptr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment