summary refs log tree commit diff
path: root/wcsmbs/wcschrnul.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/wcschrnul.c')
-rw-r--r--wcsmbs/wcschrnul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wcsmbs/wcschrnul.c b/wcsmbs/wcschrnul.c
index 2ea9b2ccc2..ff24659e5e 100644
--- a/wcsmbs/wcschrnul.c
+++ b/wcsmbs/wcschrnul.c
@@ -31,6 +31,6 @@ __wcschrnul (wcs, wc)
     else
       ++wcs;
 
-  return wcs;
+  return (wchar_t *) wcs;
 }
 weak_alias (__wcschrnul, wcschrnul)