diff options
Diffstat (limited to 'src/wchar/wmemccpy.c')
-rw-r--r-- | src/wchar/wmemccpy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wchar/wmemccpy.c b/src/wchar/wmemccpy.c index cde1a6a..498e4db 100644 --- a/src/wchar/wmemccpy.c +++ b/src/wchar/wmemccpy.c @@ -37,7 +37,7 @@ */ wchar_t* wmemccpy(wchar_t* restrict whither, const wchar_t* restrict whence, wchar_t c, size_t size) { - wchar_t* stop = wmemchr(whence, c, size); + wchar_t* stop = (wmemchr)(whence, c, size); wchar_t* r = NULL; if (stop != NULL) size = (size_t)(stop - whence), r = whither + size; @@ -64,7 +64,7 @@ wchar_t* wmemccpy(wchar_t* restrict whither, const wchar_t* restrict whence, wch */ wchar_t* wmemcmove(wchar_t* whither, const wchar_t* whence, wchar_t c, size_t size) { - wchar_t* stop = wmemchr(whence, c, size); + wchar_t* stop = (wmemchr)(whence, c, size); wchar_t* r = NULL; if (stop != NULL) size = (size_t)(stop - whence), r = whither + size; |