From c74f27955949dea8b2b33306cf0ea864ed7bf365 Mon Sep 17 00:00:00 2001 From: Jamaika1 Date: Sun, 5 Jul 2026 22:31:27 +0000 Subject: [PATCH] avfilter/vf_quirc: Changed character specifier ``` vf_quirc.c: In function 'filter_frame': vf_quirc.c:104:46: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'int64_t' {aka 'long long int'} [-Wformat=] 104 | "Found count %d codes in image #%ld\n", codes_count, inl->frame_count_out); | ~~^ ~~~~~~~~~~~~~~~~~~~~ | | | | long int int64_t {aka long long int} | %lld ``` --- libavfilter/vf_quirc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_quirc.c b/libavfilter/vf_quirc.c index d2ba48e7bc..4aaebc8ef0 100644 --- a/libavfilter/vf_quirc.c +++ b/libavfilter/vf_quirc.c @@ -101,7 +101,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) codes_count = quirc_count(quirc->quirc); av_log(ctx, AV_LOG_VERBOSE, - "Found count %d codes in image #%ld\n", codes_count, inl->frame_count_out); + "Found count %d codes in image #%" PRId64 "\n", codes_count, inl->frame_count_out); if (codes_count) { int i, j;