about summary refs log tree commit diff
path: root/sunrpc
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/key_prot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/key_prot.c b/sunrpc/key_prot.c
index 56a5414697..63d2538957 100644
--- a/sunrpc/key_prot.c
+++ b/sunrpc/key_prot.c
@@ -115,7 +115,7 @@ xdr_unixcred (XDR * xdrs, unixcred * objp)
     return FALSE;
   if (!INTUSE(xdr_u_int) (xdrs, &objp->gid))
     return FALSE;
-  if (!INTUSE(xdr_array) (xdrs, (char **) &objp->gids.gids_val,
+  if (!INTUSE(xdr_array) (xdrs, (void *) &objp->gids.gids_val,
 			  (u_int *) & objp->gids.gids_len, MAXGIDS,
 			  sizeof (u_int), (xdrproc_t) INTUSE(xdr_u_int)))
     return FALSE;