need to cast because server is const
authorJohn Kohl <jtkohl@mit.edu>
Fri, 19 Oct 1990 10:23:36 +0000 (10:23 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Fri, 19 Oct 1990 10:23:36 +0000 (10:23 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1287 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/mk_req.c

index ecd2d028367441ab5a9418671c06dfd48b54b400..d475b462cc954c5f741e23777c0ddd2118fa93f0 100644 (file)
@@ -55,7 +55,7 @@ krb5_data *outbuf;
     /* obtain ticket & session key */
 
     bzero((char *)&creds, sizeof(creds));
-    creds.server = server;
+    creds.server = (krb5_principal) server;
     if (retval = krb5_cc_get_principal(ccache, &creds.client))
        return(retval);
     /* creds.times.endtime = 0; -- bzero takes care of this