mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +08:00
inet:sockif Fix warning
This commit is contained in:
committed by
Anthony Merlino
parent
8efec13ab0
commit
a61f70d571
@@ -1272,7 +1272,7 @@ static ssize_t inet_sendmsg(FAR struct socket *psock,
|
||||
|
||||
for (len = 0, iov = msg->msg_iov; iov != end; iov++)
|
||||
{
|
||||
memcpy(buf + len, iov->iov_base, iov->iov_len);
|
||||
memcpy(((unsigned char *)buf) + len, iov->iov_base, iov->iov_len);
|
||||
len += iov->iov_len;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user