From 0cfa2ed067081de20984b69d321e14e638b931cf Mon Sep 17 00:00:00 2001 From: Axel Viala Date: Thu, 24 Mar 2022 17:01:01 +0100 Subject: [PATCH] =?utf8?q?Fix=20warning:=20comparison=20of=20integer=20exp?= =?utf8?q?ressions=20of=20different=20signedness:=20=E2=80=98int=E2=80=99?= =?utf8?q?=20and=20=E2=80=98long=20unsigned=20int=E2=80=99=20[-Wsign-compa?= =?utf8?q?re]?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- babl/base/formats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/babl/base/formats.c b/babl/base/formats.c index bbdedf3..03488c4 100644 --- a/babl/base/formats.c +++ b/babl/base/formats.c @@ -35,7 +35,7 @@ BABL_SIMD_SUFFIX (babl_formats_init) (void) babl_type_from_id (BABL_U16), babl_type_from_id (BABL_U32) }; - for (int i = 0; i < sizeof (types)/sizeof(types[0]);i++) + for (size_t i = 0; i < sizeof (types) / sizeof(types[0]); i++) { const Babl *type = types[i]; -- 2.30.2