summary refs log tree commit diff
path: root/posix/tst-getopt_long1.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/tst-getopt_long1.c')
-rw-r--r--posix/tst-getopt_long1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/tst-getopt_long1.c b/posix/tst-getopt_long1.c
index e0ecd12190..3895ebd99b 100644
--- a/posix/tst-getopt_long1.c
+++ b/posix/tst-getopt_long1.c
@@ -39,7 +39,7 @@ do_test (void)
       return 1;
     }
 
-  char *argv[] = { "program", "--on" };
+  char *argv[] = { (char *) "program", (char *) "--on" };
   int argc = 2;
 
   int c = getopt_long (argc, argv, "12345", opts, NULL);