[tracker/wip/carlosg/compiler-warnings: 76/80] docs: Use correct integer type for iterator




commit 9d22a62e80d073e8cf108002d0651846d242062c
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun Aug 28 12:14:40 2022 +0200

    docs: Use correct integer type for iterator
    
    Fixes a compiler warning.

 docs/tools/tracker-docgen-xml.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/docs/tools/tracker-docgen-xml.c b/docs/tools/tracker-docgen-xml.c
index 5751a93ec..d39f8a86d 100644
--- a/docs/tools/tracker-docgen-xml.c
+++ b/docs/tools/tracker-docgen-xml.c
@@ -63,7 +63,7 @@ print_class_hierarchy (FILE                 *f,
 {
        GPtrArray *strings;
        const gchar *id;
-       gint i;
+       guint i;
 
        strings = class_get_parent_hierarchy_strings (klass, model);
 


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