2007-03-28 Ralf Corsépius <ralf.corsepius@rtems.org>

* librpc/src/rpc/clnt_tcp.c (clnttcp_create):
	Use uintptr_t for "disrupt". Remove bogus (long) cast.
This commit is contained in:
Ralf Corsepius
2007-03-28 16:03:44 +00:00
parent 6898ed445c
commit e2a2369051
2 changed files with 4 additions and 2 deletions

View File

@@ -1,5 +1,7 @@
2007-03-28 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/clnt_tcp.c (clnttcp_create):
Use uintptr_t for "disrupt". Remove bogus (long) cast.
* libnetworking/net/ppp-comp.h: Remove (Unused).
* libnetworking/Makefile.am: Remove net/ppp-comp.h.
* libnetworking/sys/buf.h: Remove (Unused).

View File

@@ -123,10 +123,10 @@ clnttcp_create(raddr, prog, vers, sockp, sendsz, recvsz)
register struct ct_data *ct = NULL;
struct timeval now;
struct rpc_msg call_msg;
static u_int32_t disrupt;
static uintptr_t disrupt;
if (disrupt == 0)
disrupt = (u_int32_t)(long)raddr;
disrupt = (uintptr_t)raddr;
h = (CLIENT *)mem_alloc(sizeof(*h));
if (h == NULL) {