diff options
Diffstat (limited to 'wcsmbs/wcsrchr.c')
-rw-r--r-- | wcsmbs/wcsrchr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wcsmbs/wcsrchr.c b/wcsmbs/wcsrchr.c index 59184c558b..e041f7a05d 100644 --- a/wcsmbs/wcsrchr.c +++ b/wcsmbs/wcsrchr.c @@ -31,7 +31,7 @@ wcsrchr (wcs, wc) do if (*wcs == wc) retval = wcs; - while (*wcs++ != L'\0') + while (*wcs++ != L'\0'); return (wchar_t *) retval; } |