* clnt_raw, clnt_tcp.c, clnt_udp.c: Use a union structure to
authorEzra Peisach <epeisach@mit.edu>
Fri, 7 Dec 2001 19:20:17 +0000 (19:20 +0000)
committerEzra Peisach <epeisach@mit.edu>
Fri, 7 Dec 2001 19:20:17 +0000 (19:20 +0000)
commit4ff9e46c8c572d5c7258cf42d79d2f938a16d119
treec6c4a371938ed1eb096744877af97cee4dc5b636
parent87cc922ae5c53191328cf8c8a87b08a378882082
* clnt_raw, clnt_tcp.c, clnt_udp.c: Use a union structure to
ensure argument alignment.

* pmap_clnt.c, pmap_clnt.h (pmap_set): Change port argument to int
to avoid width warnings.

* rpc_callmsg.c (xdr_callmsg): Cast argument to XDR_INLINE to
avoid signed vs. unsigned warning.

* svc.c: Cast assignment to avoid signed warning.

* xdr.c (xdr_u_short, xdr_u_long): cast pointers to long * in
invocation of XDR_PUTLONG.

* xdr_alloc.c (xdralloc_putbytes): Cast argument to DynInsert to
avoid signed/unsigned warning.

* auth_gssapi.c, svc_auth_gssapi, xdr_rec.c: Cast arguments to
avoid alignment warnings.

* svc_tcp.c, xdr_stdio.c: Cast argument to fread/fwrite/read/write.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14054 dc483132-0cff-0310-8789-dd5450dbe970
16 files changed:
src/lib/rpc/ChangeLog
src/lib/rpc/auth_gssapi.c
src/lib/rpc/clnt_raw.c
src/lib/rpc/clnt_tcp.c
src/lib/rpc/clnt_udp.c
src/lib/rpc/pmap_clnt.c
src/lib/rpc/pmap_clnt.h
src/lib/rpc/pmap_rmt.c
src/lib/rpc/rpc_callmsg.c
src/lib/rpc/svc.c
src/lib/rpc/svc_auth_gssapi.c
src/lib/rpc/svc_tcp.c
src/lib/rpc/xdr.c
src/lib/rpc/xdr_alloc.c
src/lib/rpc/xdr_rec.c
src/lib/rpc/xdr_stdio.c