diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-03-28 16:03:44 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-03-28 16:03:44 +0000 |
commit | e2a23690518cc6916a873391203f4fd9d9acfb18 (patch) | |
tree | 599cb7daec993d326d12c7ca9753143bf014554d /cpukit/librpc/src/rpc/clnt_tcp.c | |
parent | Regenerate. (diff) | |
download | rtems-e2a23690518cc6916a873391203f4fd9d9acfb18.tar.bz2 |
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.
Diffstat (limited to '')
-rw-r--r-- | cpukit/librpc/src/rpc/clnt_tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/librpc/src/rpc/clnt_tcp.c b/cpukit/librpc/src/rpc/clnt_tcp.c index a6e80eda8b..79e82bd0ba 100644 --- a/cpukit/librpc/src/rpc/clnt_tcp.c +++ b/cpukit/librpc/src/rpc/clnt_tcp.c @@ -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) { |