more should be a krb5_boolean
authorJohn Kohl <jtkohl@mit.edu>
Wed, 7 Feb 1990 16:43:08 +0000 (16:43 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Wed, 7 Feb 1990 16:43:08 +0000 (16:43 +0000)
lint/saber fixes

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@302 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/kdb/verify_mky.c

index 9b221d4ac53d1b285e0477ecb6d1d3faf6027b50..99b5e38f510b37be1f1a5ce35d26d4583783da99 100644 (file)
@@ -37,7 +37,8 @@ krb5_encrypt_block *eblock;
 {
     krb5_error_code retval;
     krb5_db_entry master_entry;
-    int nprinc, more;
+    int nprinc;
+    krb5_boolean more;
     krb5_keyblock tempkey;
 
     nprinc = 1;
@@ -61,7 +62,8 @@ krb5_encrypt_block *eblock;
        (void) (*eblock->crypto_entry->finish_key)(eblock);
        return retval;
     }
-    if (!bcmp(mkey->contents, tempkey.contents, mkey->length)) {
+    if (!bcmp((char *)mkey->contents, (char *)tempkey.contents,
+             mkey->length)) {
        retval = KRB5_KDB_BADMASTERKEY;
        (void) (*eblock->crypto_entry->finish_key)(eblock);
     } else