ovsec_kadmd.c (main): Cast gss_nt_krb5_name to gss_OID
authorGeoffrey King <gjking@mit.edu>
Wed, 22 Jul 1998 04:31:50 +0000 (04:31 +0000)
committerGeoffrey King <gjking@mit.edu>
Wed, 22 Jul 1998 04:31:50 +0000 (04:31 +0000)
to avoid compiler warnings.

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

src/kadmin/server/ChangeLog
src/kadmin/server/ovsec_kadmd.c

index d27ceb1d81bdd19afb3ff28bcdde6e1bb0675e9a..22f8214bd02a32e511b87b758d0533edfe19ce0c 100644 (file)
@@ -1,3 +1,8 @@
+Wed Jul 22 00:28:57 1998  Geoffrey King  <gjking@mit.edu>
+
+       * ovsec_kadmd.c (main): Cast gss_nt_krb5_name to
+               gss_OID to avoid compiler warnings.
+
 Tue Jul 21 16:36:51 1998  Geoffrey King  <gjking@mit.edu>
 
        * ovsec_kadmd.c: Call krb5_klog_reopen in kadm_svc_run
index 3012b0459d9794861a760fb6b7f19d463bf31d85..6ac8709c76985df9d6552795482bfca10b7fa772 100644 (file)
@@ -126,7 +126,7 @@ int main(int argc, char *argv[])
 
      names[0].name = names[1].name = names[2].name = names[3].name = NULL;
      names[0].type = names[1].type = names[2].type = names[3].type =
-         gss_nt_krb5_name;
+         (gss_OID) gss_nt_krb5_name;
 
 #ifdef PURIFY
      purify_start_batch();
@@ -410,12 +410,12 @@ int main(int argc, char *argv[])
      /* if set_names succeeded, this will too */
      in_buf.value = names[1].name;
      in_buf.length = strlen(names[1].name) + 1;
-     (void) gss_import_name(&OMret, &in_buf, gss_nt_krb5_name,
+     (void) gss_import_name(&OMret, &in_buf, (gss_OID) gss_nt_krb5_name,
                            &gss_changepw_name);
      if (oldnames) {
          in_buf.value = names[3].name;
          in_buf.length = strlen(names[3].name) + 1;
-         (void) gss_import_name(&OMret, &in_buf, gss_nt_krb5_name,
+         (void) gss_import_name(&OMret, &in_buf, (gss_OID) gss_nt_krb5_name,
                                 &gss_oldchangepw_name);
      }