From: Ezra Peisach Date: Wed, 8 Aug 2001 16:59:12 +0000 (+0000) Subject: * cnv_tkt_skey.c (HOST_BYTE_ORDER): When casting const int * to X-Git-Tag: krb5-1.3-alpha1~1136 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1fe4979be233929d903c79641d83e6ff8ca8e47a;p=krb5.git * cnv_tkt_skey.c (HOST_BYTE_ORDER): When casting const int * to const char * instead of simply char *. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13678 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/krb524/ChangeLog b/src/krb524/ChangeLog index a7c40c236..dff996a91 100644 --- a/src/krb524/ChangeLog +++ b/src/krb524/ChangeLog @@ -1,3 +1,8 @@ +2001-08-08 + + * cnv_tkt_skey.c (HOST_BYTE_ORDER): When casting const int * to + const char * instead of simply char *. + 2001-06-26 Ezra Peisach * conv_creds.c: Nuke prototype in file. diff --git a/src/krb524/cnv_tkt_skey.c b/src/krb524/cnv_tkt_skey.c index 9a31eb7e8..12098fdec 100644 --- a/src/krb524/cnv_tkt_skey.c +++ b/src/krb524/cnv_tkt_skey.c @@ -216,7 +216,7 @@ int krb524_convert_tkt_skey(context, v5tkt, v4tkt, v5_skey, v4_skey, * Modified functions below to be static. *****************************************************************************/ -#define HOST_BYTE_ORDER (* (char *) &temp_ONE) +#define HOST_BYTE_ORDER (* (const char *) &temp_ONE) static const int temp_ONE = 1; /*