Browse Source

fix wrong type for wcsrchr argument 2

rs-1.0
Rich Felker 15 years ago
parent
commit
73d2fde119
  1. 2
      src/string/wcsrchr.c

2
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--);

Loading…
Cancel
Save