forked from Imagelibrary/rtems
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:
@@ -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).
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user