From: John Kohl Date: Tue, 1 May 1990 17:06:07 +0000 (+0000) Subject: casts for bcmp X-Git-Tag: krb5-1.0-alpha2~747 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ae8b391520d124b3f7dc843edf67be35801b73cc;p=krb5.git casts for bcmp git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@649 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/ccache/file/fcc_retrv.c b/src/lib/krb5/ccache/file/fcc_retrv.c index d6d805336..5dbe4d8ab 100644 --- a/src/lib/krb5/ccache/file/fcc_retrv.c +++ b/src/lib/krb5/ccache/file/fcc_retrv.c @@ -11,7 +11,7 @@ */ #if !defined(lint) && !defined(SABER) -static char fcc_retrieve_c[] = "$Id$"; +static char fcc_retrv_c[] = "$Id$"; #endif /* !lint && !SABER */ #include @@ -20,7 +20,7 @@ static char fcc_retrieve_c[] = "$Id$"; #define set(bits) (whichfields & bits) #define flags_match(a,b) (a & b == a) -#define times_match_exact(t1,t2) (bcmp(&t1, &t2, sizeof(t1)) == 0) +#define times_match_exact(t1,t2) (bcmp((char *)&(t1), (char *)&(t2), sizeof(t1)) == 0) #define times_match times_match_exact /* XXX WRONG! XXX */ /*