[babl] babl_fish_path: comparison of integer expressions of different signedness



commit 933b3bbcce87ccf1b6d3eed96896e56c3017720c
Author: Axel Viala <axel viala darnuria eu>
Date:   Thu Mar 24 17:12:15 2022 +0100

    babl_fish_path: comparison of integer expressions of different signedness

 tools/babl_fish_path_fitness.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tools/babl_fish_path_fitness.c b/tools/babl_fish_path_fitness.c
index 9b0cfc5e0..8a955be7c 100644
--- a/tools/babl_fish_path_fitness.c
+++ b/tools/babl_fish_path_fitness.c
@@ -79,8 +79,8 @@ static void
 init_test_pixels (void)
 {
   static int done = 0;
-  int i = 0;
-  int pix_no = 0;
+  size_t i = 0;
+  size_t pix_no = 0;
   srandom (111);
 
   if (done)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]