From 2da6eedaa6d1a1ca074f8fb5b12b8b7ac15be044 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Mon, 26 Jul 2010 18:19:49 +0000 Subject: [PATCH] Use xdr_int32 instead of xdr_u_int in xdr_krb5_enctype(), since enctypes are signed 32-bit values. Wire representation does not change. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24211 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/kadm5/kadm_rpc_xdr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/kadm5/kadm_rpc_xdr.c b/src/lib/kadm5/kadm_rpc_xdr.c index 36724eab3..5fb67ebb1 100644 --- a/src/lib/kadm5/kadm_rpc_xdr.c +++ b/src/lib/kadm5/kadm_rpc_xdr.c @@ -1021,7 +1021,7 @@ xdr_krb5_enctype(XDR *xdrs, krb5_enctype *objp) * is safe. */ - if (!xdr_u_int(xdrs, (unsigned int *) objp)) + if (!xdr_int32(xdrs, (int32_t *) objp)) return (FALSE); return (TRUE); } -- 2.26.2