From 1fe4979be233929d903c79641d83e6ff8ca8e47a Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Wed, 8 Aug 2001 16:59:12 +0000 Subject: [PATCH] * 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 --- src/krb524/ChangeLog | 5 +++++ src/krb524/cnv_tkt_skey.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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; /* -- 2.26.2