# HG changeset patch # User Paul Eggert # Date 1063178910 0 # Node ID b3ad36bab412cca95a099d284b75b343dcb5880a # Parent 27f3f6c02580a2c8f23ca609f77cce3faa6c89dd (strchrnul): Convert arg to char, not to unsigned char. diff --git a/lib/strchrnul.c b/lib/strchrnul.c --- 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++;