diff options
Diffstat (limited to 'lwip')
-rw-r--r-- | lwip/iioctl-ops.c | 2 | ||||
-rw-r--r-- | lwip/socket-ops.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lwip/iioctl-ops.c b/lwip/iioctl-ops.c index 041da106..d0fe464c 100644 --- a/lwip/iioctl-ops.c +++ b/lwip/iioctl-ops.c @@ -33,7 +33,7 @@ /* Get the interface from its name */ static struct netif * -get_if (char *name) +get_if (const char *name) { char ifname[IFNAMSIZ]; struct netif *netif; diff --git a/lwip/socket-ops.c b/lwip/socket-ops.c index 005e41d3..5b50f58c 100644 --- a/lwip/socket-ops.c +++ b/lwip/socket-ops.c @@ -346,7 +346,7 @@ lwip_S_socket_send (struct sock_user * user, { int sent; int sockflags; - struct iovec iov = { data, datalen }; + struct iovec iov = { (char*) data, datalen }; struct msghdr m = { msg_name:addr ? &addr->address : 0, msg_namelen:addr ? addr->address.sa.sa_len : 0, msg_flags:flags, |