casts for bcmp
authorJohn Kohl <jtkohl@mit.edu>
Tue, 1 May 1990 17:06:07 +0000 (17:06 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Tue, 1 May 1990 17:06:07 +0000 (17:06 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@649 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ccache/file/fcc_retrv.c

index d6d80533623ecae94472f7caf70a5841b7e65b4e..5dbe4d8ab9d46fe35a1d5e60823bc2fc969dc844 100644 (file)
@@ -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 */
      
 /*