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




commit 6837f67585dfde8f887dce85b987a4a304c5daad
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]