From c500dc7cca73efb1289fce7ea1c1c7118800fb84 Mon Sep 17 00:00:00 2001 From: Limin Wang Date: Fri, 20 Aug 2021 19:27:26 +0800 Subject: [PATCH] fftools/cmdutils: Fix warning for initialization makes integer from pointer without a cast Signed-off-by: Limin Wang --- fftools/cmdutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index 2dd035a7cf..ae341184f6 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c @@ -853,7 +853,7 @@ int opt_cpucount(void *optctx, const char *opt, const char *arg) int count; static const AVOption opts[] = { - {"count", NULL, 0, AV_OPT_TYPE_INT, { .i64 = -1}, -1, INT_MAX, NULL}, + {"count", NULL, 0, AV_OPT_TYPE_INT, { .i64 = -1}, -1, INT_MAX}, {NULL}, }; static const AVClass class = {