From: Paul Eggert Date: Wed, 10 Sep 2003 07:28:30 +0000 (+0000) Subject: (strchrnul): Convert arg to char, not to unsigned char. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b94457886c528e9039fd5a50b144e25d024944d;p=pspp (strchrnul): Convert arg to char, not to unsigned char. --- diff --git a/lib/strchrnul.c b/lib/strchrnul.c index db42e28734..be85312c46 100644 --- 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++;