projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
773b0fe
)
fix wrong type for wcsrchr argument 2
author
Rich Felker
<dalias@aerifal.cx>
Mon, 13 Jun 2011 18:06:04 +0000
(14:06 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Mon, 13 Jun 2011 18:06:04 +0000
(14:06 -0400)
src/string/wcsrchr.c
patch
|
blob
|
history
diff --git
a/src/string/wcsrchr.c
b/src/string/wcsrchr.c
index 7503475abaee9a2ca7363cb05165f38e5b2541aa..8961b9e2f8eeeebcc4ac083429ecb2309873e8bf 100644
(file)
--- a/
src/string/wcsrchr.c
+++ b/
src/string/wcsrchr.c
@@
-1,6
+1,6
@@
#include <wchar.h>
-wchar_t *wcsrchr(const wchar_t *s, w
int
_t c)
+wchar_t *wcsrchr(const wchar_t *s, w
char
_t c)
{
const wchar_t *p;
for (p=s+wcslen(s); p>=s && *p!=c; p--);