need const krb5_data **
authorJohn Kohl <jtkohl@mit.edu>
Fri, 19 Oct 1990 10:48:33 +0000 (10:48 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Fri, 19 Oct 1990 10:48:33 +0000 (10:48 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1295 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/princ_comp.c

index 8d28d7e840d0202ef4af744e75fe6665e02fd1a6..926b7b7a357e7b3630f5ec85972b73e6ae79eeb5 100644 (file)
@@ -30,7 +30,7 @@ krb5_principal_compare(princ1, princ2)
 krb5_const_principal princ1;
 krb5_const_principal princ2;
 {
-    register krb5_data **p1, **p2;
+    register const krb5_data **p1, **p2;
 
     for (p1 = princ1, p2 = princ2; *p1  && *p2; p1++, p2++)
        if (strncmp((*p1)->data, (*p2)->data, min((*p1)->length,