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

src/lib/krb5/krb/send_tgs.c

index 1e73897b0c1bbb57db2a7be7f8df100fc153df22..4e86e26a3ad1e1b949c9424a4c6ca50168894378 100644 (file)
@@ -71,7 +71,7 @@ OLDDECLARG(krb5_response *,rep)
     bzero((char *)&tgsreq, sizeof(tgsreq));
 
     tgsreq.kdc_options = kdcoptions;
-    tgsreq.server = sname;
+    tgsreq.server = (krb5_principal) sname;
 
     tgsreq.from = timestruct->starttime;
     tgsreq.till = timestruct->endtime;