From 48b941d54335cd8314df3773b4a98fe2c46efd38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Sat, 9 Aug 2025 04:01:56 +0200 Subject: [PATCH] tools/fourcc2pixfmt: fix getopt return value type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kacper Michajłow --- tools/fourcc2pixfmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/fourcc2pixfmt.c b/tools/fourcc2pixfmt.c index abea0c8d84..519cc1cad0 100644 --- a/tools/fourcc2pixfmt.c +++ b/tools/fourcc2pixfmt.c @@ -62,7 +62,7 @@ int main(int argc, char **argv) int i, list_fourcc_pix_fmt = 0, list_pix_fmt_fourccs = 0; const PixelFormatTag *pix_fmt_tags = raw_pix_fmt_tags; const char *pix_fmt_name = NULL; - char c; + int c; if (argc == 1) { usage();