Skip to content

Commit

Permalink
printer tree REFACTOR incorrect param type
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed Apr 16, 2024
1 parent 350e8dd commit 8f14b30
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/printer_tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -3786,7 +3786,7 @@ trb_tree_ctx_set_child(struct trt_tree_ctx *tc)
* @return Pointer to the first/next extension.
*/
static void *
trb_ext_iter_next(ly_bool lysc_tree, void *exts, uint64_t *i)
trb_ext_iter_next(ly_bool lysc_tree, void *exts, LY_ARRAY_COUNT_TYPE *i)
{
void *ext = NULL;
struct lysc_ext_instance *ce;
Expand Down Expand Up @@ -3828,7 +3828,7 @@ trb_ext_iter_next(ly_bool lysc_tree, void *exts, uint64_t *i)
* @return First/next extension or NULL.
*/
static void *
trb_mod_ext_iter(const struct trt_tree_ctx *tc, uint64_t *i)
trb_mod_ext_iter(const struct trt_tree_ctx *tc, LY_ARRAY_COUNT_TYPE *i)
{
if (tc->lysc_tree) {
return trb_ext_iter_next(1, tc->cmod->exts, i);
Expand All @@ -3845,7 +3845,7 @@ trb_mod_ext_iter(const struct trt_tree_ctx *tc, uint64_t *i)
* @return First/next extension or NULL.
*/
static void *
trb_ext_iter(const struct trt_tree_ctx *tc, uint64_t *i)
trb_ext_iter(const struct trt_tree_ctx *tc, LY_ARRAY_COUNT_TYPE *i)
{
if (tc->lysc_tree) {
return trb_ext_iter_next(1, tc->cn->exts, i);
Expand Down

0 comments on commit 8f14b30

Please sign in to comment.