about summary refs log tree commit diff
path: root/argp
diff options
context:
space:
mode:
Diffstat (limited to 'argp')
-rw-r--r--argp/tst-argp1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/argp/tst-argp1.c b/argp/tst-argp1.c
index 7f29ff2e7d..c72185e15d 100644
--- a/argp/tst-argp1.c
+++ b/argp/tst-argp1.c
@@ -97,7 +97,7 @@ int
 main (void)
 {
   int argc = 2;
-  char *argv[3] = { "tst-argp1", "--help", NULL };
+  char *argv[3] = { (char *) "tst-argp1", (char *) "--help", NULL };
   int remaining;
 
   /* Parse and process arguments.  */