summaryrefslogtreecommitdiffstats
path: root/cpukit/librpc/src/rpc/rtems_portmapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/librpc/src/rpc/rtems_portmapper.c')
-rw-r--r--cpukit/librpc/src/rpc/rtems_portmapper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/librpc/src/rpc/rtems_portmapper.c b/cpukit/librpc/src/rpc/rtems_portmapper.c
index 41e0e3a724..b24b36ba00 100644
--- a/cpukit/librpc/src/rpc/rtems_portmapper.c
+++ b/cpukit/librpc/src/rpc/rtems_portmapper.c
@@ -316,7 +316,8 @@ xdr_encap_parms(
struct encap_parms *epp )
{
- return (xdr_bytes(xdrs, &(epp->args), (u_int*)&(epp->arglen), ARGSIZE));
+ u_int temp_epp_arglen = epp->arglen;
+ return (xdr_bytes(xdrs, &(epp->args), &temp_epp_arglen, ARGSIZE));
}
struct rmtcallargs {