libyang: CHANGE: review code and validity checks according to RFC 6020 sec 7.1
diff --git a/src/printer/yang.c b/src/printer/yang.c
index 869f43d..bcd9567 100644
--- a/src/printer/yang.c
+++ b/src/printer/yang.c
@@ -325,7 +325,7 @@
 
 int yang_print_model(FILE *f, struct ly_module *module)
 {
-	int i;
+	unsigned int i;
 	int level = 0;
 #define LEVEL (level*2)