From: Ken Raeburn Date: Sun, 25 Mar 2007 23:10:07 +0000 (+0000) Subject: Change strnchr sought value to int to match passed value X-Git-Tag: krb5-1.7-alpha1~1220 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b535a9f804ce488923901ae4caef761bcf4df5ae;p=krb5.git Change strnchr sought value to int to match passed value git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19282 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/conv_princ.c b/src/lib/krb5/krb/conv_princ.c index b0abae360..3a1ca63b9 100644 --- a/src/lib/krb5/krb/conv_princ.c +++ b/src/lib/krb5/krb/conv_princ.c @@ -128,7 +128,7 @@ static const struct krb_convert sconv_list[] = { * This falls in the "should have been in the ANSI C library" * category. :-) */ -static char *strnchr(register char *s, register char c, +static char *strnchr(register char *s, register int c, register unsigned int n) { if (n < 1)