From: Tom Yu Date: Sat, 19 Feb 2000 01:50:53 +0000 (+0000) Subject: * kadm_rpc_xdr.c (xdr_chpass3_arg): X-Git-Tag: krb5-1.2-beta1~68 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f6aba826e738111a3d2e07cd2fc92cf8b0cf51bd;p=krb5.git * kadm_rpc_xdr.c (xdr_chpass3_arg): (xdr_chrand3_arg): Fix up calls to xdr_array. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12055 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/kadm5/ChangeLog b/src/lib/kadm5/ChangeLog index a951c04dc..36443abcd 100644 --- a/src/lib/kadm5/ChangeLog +++ b/src/lib/kadm5/ChangeLog @@ -1,3 +1,8 @@ +2000-02-18 Tom Yu + + * kadm_rpc_xdr.c (xdr_chpass3_arg): + (xdr_chrand3_arg): Fix up calls to xdr_array. + 2000-02-13 Tom Yu * kadm_rpc_xdr.c: Add xdr functions for new kadm rpc functions. diff --git a/src/lib/kadm5/kadm_rpc_xdr.c b/src/lib/kadm5/kadm_rpc_xdr.c index 4e313a749..69b8da875 100644 --- a/src/lib/kadm5/kadm_rpc_xdr.c +++ b/src/lib/kadm5/kadm_rpc_xdr.c @@ -635,7 +635,7 @@ xdr_chpass3_arg(XDR *xdrs, chpass3_arg *objp) return (FALSE); } if (!xdr_array(xdrs, (caddr_t *)&objp->ks_tuple, - objp->n_ks_tuple, ~0, + (unsigned int*)&objp->n_ks_tuple, ~0, sizeof(krb5_key_salt_tuple), xdr_krb5_key_salt_tuple)) { return (FALSE); @@ -732,7 +732,7 @@ xdr_chrand3_arg(XDR *xdrs, chrand3_arg *objp) return (FALSE); } if (!xdr_array(xdrs, (caddr_t *)&objp->ks_tuple, - objp->n_ks_tuple, ~0, + (unsigned int*)&objp->n_ks_tuple, ~0, sizeof(krb5_key_salt_tuple), xdr_krb5_key_salt_tuple)) { return (FALSE);