[tracker] docs: Fix less-than-zero comparison of an unsigned value



commit acc705b48c6ddda3a6c022e376e0d6fbc9636a1d
Author: Haithem BEN GHORBAL <haithem benghorbal gmail com>
Date:   Mon Feb 8 15:09:29 2016 +0100

    docs: Fix less-than-zero comparison of an unsigned value

 docs/tools/ttlresource2sgml.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/docs/tools/ttlresource2sgml.c b/docs/tools/ttlresource2sgml.c
index 7d51c31..ae91882 100644
--- a/docs/tools/ttlresource2sgml.c
+++ b/docs/tools/ttlresource2sgml.c
@@ -436,7 +436,7 @@ hierarchy_context_resolve_class (HierarchyContext *context,
 {
        GList *l = g_list_find_custom (context->hierarchy, klass->classname,
                                       (GCompareFunc) g_strcmp0);
-       guint pos = g_list_position (context->hierarchy, l);
+       gint pos = g_list_position (context->hierarchy, l);
        GList *children, *parents;
        gchar *shortname, *link;
        HierarchyString *str;


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