changeset 4679:b3ad36bab412

(strchrnul): Convert arg to char, not to unsigned char.
author Paul Eggert <eggert@cs.ucla.edu>
date Wed, 10 Sep 2003 07:28:30 +0000
parents 27f3f6c02580
children 0ec32cb1202f
files lib/strchrnul.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/strchrnul.c
+++ b/lib/strchrnul.c
@@ -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++;