libyang REFACTOR rename sized array size to count
... because it reflects the fact that it may not
always (internally) be the size of the array.
diff --git a/src/tree_schema_free.c b/src/tree_schema_free.c
index c931b4a..7416e6b 100644
--- a/src/tree_schema_free.c
+++ b/src/tree_schema_free.c
@@ -729,7 +729,7 @@
static void
lysc_node_leaflist_free(struct ly_ctx *ctx, struct lysc_node_leaflist *node)
{
- LY_ARRAY_SIZE_TYPE u;
+ LY_ARRAY_COUNT_TYPE u;
FREE_ARRAY(ctx, node->musts, lysc_must_free);
if (node->type) {
@@ -748,7 +748,7 @@
static void
lysc_node_list_free(struct ly_ctx *ctx, struct lysc_node_list *node)
{
- LY_ARRAY_SIZE_TYPE u;
+ LY_ARRAY_COUNT_TYPE u;
struct lysc_node *child, *child_next;
LY_LIST_FOR_SAFE(node->child, child_next, child) {