Fix warning: comparison of integer expressions of different signedness: ‘int’ and...
authorAxel Viala <axel.viala@darnuria.eu>
Thu, 24 Mar 2022 16:01:01 +0000 (17:01 +0100)
committerØyvind "pippin" Kolås <pippin@gimp.org>
Sun, 21 Aug 2022 11:09:36 +0000 (11:09 +0000)
babl/base/formats.c

index bbdedf347af3cb94d8de366cf66a4164aec4f2b2..03488c412b9f9d7c512d16e93914cfdb0c0af057 100644 (file)
@@ -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];