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:
Ralf Corsepius
2010-05-29 04:33:42 +00:00
parent 7cf4893bca
commit e04cfeb92a
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -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):
+1 -1
View File
@@ -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: