From ae8b391520d124b3f7dc843edf67be35801b73cc Mon Sep 17 00:00:00 2001 From: John Kohl Date: Tue, 1 May 1990 17:06:07 +0000 Subject: [PATCH] casts for bcmp git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@649 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/ccache/file/fcc_retrv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ /* -- 2.26.2