Change strnchr sought value to int to match passed value
authorKen Raeburn <raeburn@mit.edu>
Sun, 25 Mar 2007 23:10:07 +0000 (23:10 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sun, 25 Mar 2007 23:10:07 +0000 (23:10 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19282 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/conv_princ.c

index b0abae3606b5bb995ce8eaf657deed1d8c4fc27b..3a1ca63b9249b770a3e7358c83525f1c8f29bc11 100644 (file)
@@ -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)