libyang REFACTOR use size-specific int types instead of generic types (#1177)
Align parameters' types with the values in (internal) structures.
diff --git a/src/tree_schema_free.c b/src/tree_schema_free.c
index 3259bd6..062b993 100644
--- a/src/tree_schema_free.c
+++ b/src/tree_schema_free.c
@@ -880,7 +880,7 @@
API void
lysc_extension_instance_free(struct ly_ctx *ctx, struct lysc_ext_substmt *substmts)
{
- for (unsigned int u = 0; substmts[u].stmt; ++u) {
+ for (LY_ARRAY_COUNT_TYPE u = 0; substmts[u].stmt; ++u) {
if (!substmts[u].storage) {
continue;
}