diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-04-29 07:43:32 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-04-29 07:43:32 +0000 |
commit | 9ff6462513e7ce043bdbb38d2e1809fb697efd0d (patch) | |
tree | 36d123b51cb4d3aa36f9b1a69c88e8a5699967a9 | |
parent | 2010-04-29 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-9ff6462513e7ce043bdbb38d2e1809fb697efd0d.tar.bz2 |
2010-04-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/pmap_rmt.c: Use uintptr_t for better 16bit
compliance.
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/librpc/src/rpc/pmap_rmt.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 60ba0316c8..902bd4a13a 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,10 @@ 2010-04-29 Ralf Corsépius <ralf.corsepius@rtems.org> + * librpc/src/rpc/pmap_rmt.c: Use uintptr_t for better 16bit + compliance. + +2010-04-29 Ralf Corsépius <ralf.corsepius@rtems.org> + * aclocal/enable-itron.m4: Cosmetics. * httpd/Makefile.am: Use LIBHTTPD. * shttpd/Makefile.am: Use LIBSHTTPD. diff --git a/cpukit/librpc/src/rpc/pmap_rmt.c b/cpukit/librpc/src/rpc/pmap_rmt.c index 59c7ddd8d2..1ab72b2f15 100644 --- a/cpukit/librpc/src/rpc/pmap_rmt.c +++ b/cpukit/librpc/src/rpc/pmap_rmt.c @@ -281,10 +281,10 @@ clnt_broadcast( struct rpc_msg msg; struct timeval t, tv; char outbuf[MAX_BROADCAST_SIZE], inbuf[UDPMSGSIZE]; - static u_int32_t disrupt; + static uintptr_t disrupt; if (disrupt == 0) - disrupt = (u_int32_t)(long)resultsp; + disrupt = (uintptr_t) resultsp; /* * initialization: create a socket, a broadcast address, and |