* kadm_rpc_xdr.c (xdr_chpass3_arg):
authorTom Yu <tlyu@mit.edu>
Sat, 19 Feb 2000 01:50:53 +0000 (01:50 +0000)
committerTom Yu <tlyu@mit.edu>
Sat, 19 Feb 2000 01:50:53 +0000 (01:50 +0000)
(xdr_chrand3_arg): Fix up calls to xdr_array.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12055 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/kadm5/ChangeLog
src/lib/kadm5/kadm_rpc_xdr.c

index a951c04dc042a0d96e7f18e37196e89d4f77fcac..36443abcd50c80bfbf89fb5053be6afb3ef481bc 100644 (file)
@@ -1,3 +1,8 @@
+2000-02-18  Tom Yu  <tlyu@mit.edu>
+
+       * kadm_rpc_xdr.c (xdr_chpass3_arg): 
+       (xdr_chrand3_arg): Fix up calls to xdr_array.
+
 2000-02-13  Tom Yu  <tlyu@mit.edu>
 
        * kadm_rpc_xdr.c: Add xdr functions for new kadm rpc functions.
index 4e313a7496e419cb0e651c0f181bfd009bc707b6..69b8da8752ff2a825a3f89f9c8b126a13f0207b6 100644 (file)
@@ -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);