lib: Fix a signed/unsigned hickup
authorVolker Lendecke <vl@samba.org>
Wed, 30 Aug 2017 11:53:02 +0000 (13:53 +0200)
committerRalph Boehme <slow@samba.org>
Sat, 30 Sep 2017 06:01:24 +0000 (08:01 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
lib/util/debug.c

index 8b28002501f4de86152f8d84c40fd2e65c7827f8..64285506d1b2b479249460a1b9c516ec7f348cbd 100644 (file)
@@ -628,7 +628,7 @@ utility lists registered debug class names's
 char *debug_list_class_names_and_levels(void)
 {
        char *buf = NULL;
-       unsigned int i;
+       int i;
        /* prepare strings */
        for (i = 0; i < debug_num_classes; i++) {
                buf = talloc_asprintf_append(buf,