diff options
Diffstat (limited to 'cpukit/libnetworking/netinet')
-rw-r--r-- | cpukit/libnetworking/netinet/raw_ip.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/netinet/udp_usrreq.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libnetworking/netinet/raw_ip.c b/cpukit/libnetworking/netinet/raw_ip.c index c7c5f5fa89..c003fb7195 100644 --- a/cpukit/libnetworking/netinet/raw_ip.c +++ b/cpukit/libnetworking/netinet/raw_ip.c @@ -336,7 +336,7 @@ rip_usrreq(struct socket *so, int req, struct mbuf *m, struct mbuf *nam, int s; if (req == PRU_CONTROL) - return (in_control(so, (u_long)m, (caddr_t)nam, + return (in_control(so, (uintptr_t)m, (caddr_t)nam, (struct ifnet *)control)); switch (req) { diff --git a/cpukit/libnetworking/netinet/udp_usrreq.c b/cpukit/libnetworking/netinet/udp_usrreq.c index 1518da3e7e..f09531d810 100644 --- a/cpukit/libnetworking/netinet/udp_usrreq.c +++ b/cpukit/libnetworking/netinet/udp_usrreq.c @@ -594,7 +594,7 @@ udp_usrreq(struct socket *so, int req, struct mbuf *m, struct mbuf *addr, int s; if (req == PRU_CONTROL) - return (in_control(so, (u_long)m, (caddr_t)addr, + return (in_control(so, (uintptr_t)m, (caddr_t)addr, (struct ifnet *)control)); if (inp == NULL && req != PRU_ATTACH) { error = EINVAL; |