mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-26 17:03:47 +08:00
2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/raw_ip.c: Cast nam to uintptr_t instead of int.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* libnetworking/netinet/raw_ip.c:
|
||||
Cast nam to uintptr_t instead of int.
|
||||
* libnetworking/libc/gethostnamadr.c:
|
||||
Cast addr to uintptr_t instead of size_t.
|
||||
* libfs/src/nfsclient/src/xdr_mbuf.c (xdrmbuf_setup):
|
||||
|
||||
@@ -357,7 +357,7 @@ rip_usrreq(struct socket *so, int req, struct mbuf *m, struct mbuf *nam,
|
||||
if (error)
|
||||
break;
|
||||
inp = (struct inpcb *)so->so_pcb;
|
||||
inp->inp_ip_p = (int)nam;
|
||||
inp->inp_ip_p = (uintptr_t)nam;
|
||||
break;
|
||||
|
||||
case PRU_DISCONNECT:
|
||||
|
||||
Reference in New Issue
Block a user