aboutsummaryrefslogtreecommitdiff
path: root/sunrpc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-08-26 03:34:59 +0000
committerUlrich Drepper <drepper@redhat.com>2007-08-26 03:34:59 +0000
commit8f1fe0572d1d9b9d28a33abf4d7542aff2d2765f (patch)
treec4d539b5a32b3b27c20d64117b6885b9c631c5cb /sunrpc
parent278bfa00b668eb79b6cfb493ae3ea985ea7a844b (diff)
downloadglibc-8f1fe0572d1d9b9d28a33abf4d7542aff2d2765f.zip
glibc-8f1fe0572d1d9b9d28a33abf4d7542aff2d2765f.tar.gz
glibc-8f1fe0572d1d9b9d28a33abf4d7542aff2d2765f.tar.bz2
* sunrpc/key_prot.c (xdr_unixcred): Work around gcc alias warning.
* nis/nis_xdr.c (_xdr_nis_server): Likewise. * nis/yp_xdr.c (xdr_ypmaplist): Likewise.
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 56a5414..63d2538 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;