projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
035c7b7
)
Fix warning: comparison of integer expressions of different signedness: ‘int’ and...
author
Axel 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
patch
|
blob
|
history
diff --git
a/babl/base/formats.c
b/babl/base/formats.c
index bbdedf347af3cb94d8de366cf66a4164aec4f2b2..03488c412b9f9d7c512d16e93914cfdb0c0af057 100644
(file)
--- 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];