[babl] -Wsign-compare babl-memory



commit 8a1842f7ae9f45cf95dc469edd29a02fc19099d2
Author: Axel Viala <axel viala darnuria eu>
Date:   Fri Mar 25 16:08:22 2022 +0100

    -Wsign-compare babl-memory

 babl/babl-memory.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/babl/babl-memory.c b/babl/babl-memory.c
index 5c9214e66..b7d83ef73 100644
--- a/babl/babl-memory.c
+++ b/babl/babl-memory.c
@@ -318,8 +318,8 @@ babl_strcat (char       *dest,
              const char *src)
 {
   char *ret;
-  int   src_len;
-  int   dst_len;
+  size_t src_len;
+  size_t dst_len;
 
   if (NULL == src)
     return dest;


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