about summary refs log tree commit diff
path: root/libio/tst-ungetwc2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/tst-ungetwc2.c')
-rw-r--r--libio/tst-ungetwc2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/tst-ungetwc2.c b/libio/tst-ungetwc2.c
index 64efa9d619..d15e287c05 100644
--- a/libio/tst-ungetwc2.c
+++ b/libio/tst-ungetwc2.c
@@ -11,7 +11,7 @@ int
 main (void)
 {
   FILE *fp;
-  char *str = "abcdef";
+  const char *str = "abcdef";
   wint_t ret, wc;
   char fname[] = "/tmp/tst-ungetwc2.out.XXXXXX";
   int fd;