(strchrnul): Convert arg to char, not to unsigned char.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 10 Sep 2003 07:28:30 +0000 (07:28 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 10 Sep 2003 07:28:30 +0000 (07:28 +0000)
lib/strchrnul.c

index db42e28..be85312 100644 (file)
@@ -22,7 +22,7 @@
 char *
 strchrnul (const char *s, int c_in)
 {
-  unsigned char c = c_in;
+  char c = c_in;
   while (*s && (*s != c))
     s++;