fix wrong type for wcsrchr argument 2
authorRich Felker <dalias@aerifal.cx>
Mon, 13 Jun 2011 18:06:04 +0000 (14:06 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 13 Jun 2011 18:06:04 +0000 (14:06 -0400)
src/string/wcsrchr.c

index 7503475..8961b9e 100644 (file)
@@ -1,6 +1,6 @@
 #include <wchar.h>
 
 #include <wchar.h>
 
-wchar_t *wcsrchr(const wchar_t *s, wint_t c)
+wchar_t *wcsrchr(const wchar_t *s, wchar_t c)
 {
        const wchar_t *p;
        for (p=s+wcslen(s); p>=s && *p!=c; p--);
 {
        const wchar_t *p;
        for (p=s+wcslen(s); p>=s && *p!=c; p--);