From 3b94457886c528e9039fd5a50b144e25d024944d Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 10 Sep 2003 07:28:30 +0000 Subject: [PATCH] (strchrnul): Convert arg to char, not to unsigned char. --- lib/strchrnul.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; -- 2.30.2