From: John Kohl Date: Thu, 19 Apr 1990 10:59:18 +0000 (+0000) Subject: fix const for **'s X-Git-Tag: krb5-1.0-alpha2~895 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=33c55670f0b88181aa99ecea9a0f08fff63ae186;p=krb5.git fix const for **'s need to cast some assignments for encoding git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@500 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/send_tgs.c b/src/lib/krb5/krb/send_tgs.c index 51ca09c1d..46b042f0d 100644 --- a/src/lib/krb5/krb/send_tgs.c +++ b/src/lib/krb5/krb/send_tgs.c @@ -47,20 +47,20 @@ krb5_send_tgs(DECLARG(const krb5_flags, kdcoptions), DECLARG(const krb5_enctype, etype), DECLARG(const krb5_cksumtype, sumtype), DECLARG(const krb5_principal, sname), - DECLARG(const krb5_address **, addrs), - DECLARG(const krb5_authdata **,authorization_data), + DECLARG(krb5_address * const *, addrs), + DECLARG(krb5_authdata * const *,authorization_data), DECLARG(const krb5_data *,second_ticket), - DECLARG(const krb5_creds *,usecred), + DECLARG(krb5_creds *,usecred), DECLARG(krb5_response *,rep)) OLDDECLARG(const krb5_flags, kdcoptions) OLDDECLARG(const krb5_ticket_times *,timestruct) OLDDECLARG(const krb5_enctype, etype) OLDDECLARG(const krb5_cksumtype, sumtype) OLDDECLARG(const krb5_principal, sname) -OLDDECLARG(const krb5_address **, addrs) -OLDDECLARG(const krb5_authdata **,authorization_data) +OLDDECLARG(krb5_address * const *, addrs) +OLDDECLARG(krb5_authdata * const *,authorization_data) OLDDECLARG(const krb5_data *,second_ticket) -OLDDECLARG(const krb5_creds *,usecred) +OLDDECLARG(krb5_creds *,usecred) OLDDECLARG(krb5_response *,rep) { krb5_error_code retval; @@ -82,9 +82,9 @@ OLDDECLARG(krb5_response *,rep) return(retval); realreq.etype = etype; realreq.server = sname; - realreq.addresses = addrs; + realreq.addresses = (krb5_address **) addrs; - encpart.authorization_data = authorization_data; + encpart.authorization_data = (krb5_authdata **)authorization_data; if (second_ticket) { if (retval = krb5_decode_ticket(second_ticket, &sec_ticket)) return retval;