projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
383599d
)
(strchrnul): Convert arg to char, not to unsigned char.
author
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 10 Sep 2003 07:28:30 +0000
(07:28 +0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 10 Sep 2003 07:28:30 +0000
(07:28 +0000)
lib/strchrnul.c
patch
|
blob
|
history
diff --git
a/lib/strchrnul.c
b/lib/strchrnul.c
index db42e28734bb6a444439d6066f13fb5adeaa4eab..be85312c4611b55587e0b91eb12ebd1d03761a91 100644
(file)
--- 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++;