summaryrefslogtreecommitdiff
path: root/codec/compat/getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'codec/compat/getopt.c')
-rw-r--r--codec/compat/getopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/codec/compat/getopt.c b/codec/compat/getopt.c
index f434924b..5e444d39 100644
--- a/codec/compat/getopt.c
+++ b/codec/compat/getopt.c
@@ -49,7 +49,7 @@ const char *optarg; /* argument associated with option */
typedef struct option
{
- char *name;
+ const char *name;
int has_arg;
int *flag;
int val;