Commit 2590e21d authored by Yann Diorcet's avatar Yann Diorcet

recvfrom cast buffer

parent 4cbfe71e
......@@ -1011,7 +1011,7 @@ int rtp_session_rtp_recv_abstract(ortp_socket_t socket, mblk_t *msg, int flags,
#endif
return ret;
#else
return recvfrom(socket, msg->b_wptr, bufsz, flags, from, fromlen);
return recvfrom(socket, (char *)msg->b_wptr, bufsz, flags, from, fromlen);
#endif
......
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