summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-06-13 14:06:04 -0400
committerRich Felker <dalias@aerifal.cx>2011-06-13 14:06:04 -0400
commit73d2fde1195401dfb87935f46126f9481af1a8c3 (patch)
treeef6c763d69560b8d70ed3f29ad51e37938b08721
parent773b0fe4473be18fdcc1b822630e2ebdb1719536 (diff)
downloadmusl-73d2fde1195401dfb87935f46126f9481af1a8c3.tar.gz
musl-73d2fde1195401dfb87935f46126f9481af1a8c3.tar.bz2
musl-73d2fde1195401dfb87935f46126f9481af1a8c3.tar.xz
musl-73d2fde1195401dfb87935f46126f9481af1a8c3.zip
fix wrong type for wcsrchr argument 2
-rw-r--r--src/string/wcsrchr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string/wcsrchr.c b/src/string/wcsrchr.c
index 7503475a..8961b9e2 100644
--- a/src/string/wcsrchr.c
+++ b/src/string/wcsrchr.c
@@ -1,6 +1,6 @@
#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--);