From 3ac29f0af0f507558a14e59d4e66efea51359d17 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 29 Apr 2010 09:42:52 +0000 Subject: =?UTF-8?q?2010-04-29=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * librpc/src/rpc/clnt_udp.c, librpc/src/xdr/xdr_mem.c: Use [u]intptr_t instead of [u_]long for better 16bit compliance. --- cpukit/librpc/src/rpc/clnt_udp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/librpc/src/rpc') diff --git a/cpukit/librpc/src/rpc/clnt_udp.c b/cpukit/librpc/src/rpc/clnt_udp.c index 623500fb75..84737c298c 100644 --- a/cpukit/librpc/src/rpc/clnt_udp.c +++ b/cpukit/librpc/src/rpc/clnt_udp.c @@ -123,10 +123,10 @@ clntudp_bufcreate( register struct cu_data *cu = 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; cl = (CLIENT *)mem_alloc(sizeof(CLIENT)); if (cl == NULL) { -- cgit v1.2.3