about summary refs log tree commit diff
path: root/wcsmbs/btowc.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/btowc.c')
-rw-r--r--wcsmbs/btowc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wcsmbs/btowc.c b/wcsmbs/btowc.c
index b40a98f65b..3ca5af2782 100644
--- a/wcsmbs/btowc.c
+++ b/wcsmbs/btowc.c
@@ -31,7 +31,7 @@ __btowc (c)
   char buf[sizeof (wchar_t)];
   struct gconv_step_data data;
   char inbuf[1];
-  char *inptr = inbuf;
+  const char *inptr = inbuf;
   size_t converted;
   int status;