From: Ezra Peisach Date: Sun, 12 Mar 2000 19:18:52 +0000 (+0000) Subject: * kdb_xdr.c (krb5_dbe_lookup_mod_princ_data): In casting argument X-Git-Tag: krb5-1.2-beta1~25 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f29e6ab8952c7607d2726fee180d74257a72a2b8;p=krb5.git * kdb_xdr.c (krb5_dbe_lookup_mod_princ_data): In casting argument to krb5_parse_name, use krb5_const not const. Under ultrix, krb5_const is not the same as const git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12100 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/kdb/ChangeLog b/src/lib/kdb/ChangeLog index 40884ad80..29ab353e2 100644 --- a/src/lib/kdb/ChangeLog +++ b/src/lib/kdb/ChangeLog @@ -1,3 +1,8 @@ +2000-03-12 Ezra Peisach + + * kdb_xdr.c (krb5_dbe_lookup_mod_princ_data): In casting argument + to krb5_parse_name, use krb5_const not const. + 2000-02-21 Bear Giles * fetch_mkey.c (krb5_db_fetch_mkey): Don't attempt to override diff --git a/src/lib/kdb/kdb_xdr.c b/src/lib/kdb/kdb_xdr.c index d54f00608..7285ad259 100644 --- a/src/lib/kdb/kdb_xdr.c +++ b/src/lib/kdb/kdb_xdr.c @@ -238,7 +238,7 @@ krb5_dbe_lookup_mod_princ_data(context, entry, mod_time, mod_princ) /* Mod Princ */ if ((code = krb5_parse_name(context, - (const char *) (tl_data.tl_data_contents+4), + (krb5_const char *) (tl_data.tl_data_contents+4), mod_princ))) return(code);