summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1990-05-01 17:06:07 +0000
committerJohn Kohl <jtkohl@mit.edu>1990-05-01 17:06:07 +0000
commitae8b391520d124b3f7dc843edf67be35801b73cc (patch)
treec5dcbad1a5b4ba8f407a3e34a5a24a18b8198705 /src
parentbdea09791caf623568d8b84e0bf16dbf98581915 (diff)
downloadkrb5-ae8b391520d124b3f7dc843edf67be35801b73cc.tar.gz
krb5-ae8b391520d124b3f7dc843edf67be35801b73cc.tar.xz
krb5-ae8b391520d124b3f7dc843edf67be35801b73cc.zip
casts for bcmp
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@649 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/lib/krb5/ccache/file/fcc_retrv.c4
1 files 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 <krb5/copyright.h>
@@ -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 */
/*