(__btowc): Declare inptr as const char *.
authordrepper <drepper>
Tue, 21 Apr 1998 10:04:10 +0000 (10:04 +0000)
committerdrepper <drepper>
Tue, 21 Apr 1998 10:04:10 +0000 (10:04 +0000)
wcsmbs/btowc.c

index b40a98f..3ca5af2 100644 (file)
@@ -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;