From 8f5d156a764e12bd65e6b7a8cab8efd910fd8d57 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Tue, 27 Nov 1990 11:17:20 +0000 Subject: [PATCH] fix const binding to correct place git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1495 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/princ_comp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/krb5/krb/princ_comp.c b/src/lib/krb5/krb/princ_comp.c index 926b7b7a3..2cd0470e5 100644 --- a/src/lib/krb5/krb/princ_comp.c +++ b/src/lib/krb5/krb/princ_comp.c @@ -30,7 +30,7 @@ krb5_principal_compare(princ1, princ2) krb5_const_principal princ1; krb5_const_principal princ2; { - register const krb5_data **p1, **p2; + register krb5_data * const *p1, * const *p2; for (p1 = princ1, p2 = princ2; *p1 && *p2; p1++, p2++) if (strncmp((*p1)->data, (*p2)->data, min((*p1)->length, -- 2.26.2