aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2025-08-12 17:40:39 +0200
committerKacper Michajłow <kasper93@gmail.com>2025-08-14 00:08:10 +0000
commit589b93441741b4ee2b65dd10405bdc44ebd0e8fd (patch)
tree3d6970ccebc1d3f7172237b358bb70d055aa7e5a
parentd3375101fe2a6cf11dc763899d9eca1475f4be59 (diff)
downloadffmpeg-589b93441741b4ee2b65dd10405bdc44ebd0e8fd.tar.gz
compat/getopt: constify opts
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
-rw-r--r--compat/getopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/getopt.c b/compat/getopt.c
index 41a641f7c8..72110a95dd 100644
--- a/compat/getopt.c
+++ b/compat/getopt.c
@@ -38,7 +38,7 @@ static int optind = 1;
static int optopt;
static char *optarg;
-static int getopt(int argc, char *argv[], char *opts)
+static int getopt(int argc, char *argv[], const char *opts)
{
static int sp = 1;
int c;